mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
fix: update props to use new mui syntax
This commit is contained in:
@@ -108,9 +108,7 @@ export const SprintListItem = (props) => {
|
||||
aria-describedby="date"
|
||||
value={newStartDate}
|
||||
onChange={(e) => setNewStartDate(e.target.value)}
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
slotProps={{ inputLabel: { shrink: true } }}
|
||||
variant="outlined"
|
||||
/>
|
||||
)}
|
||||
@@ -129,9 +127,7 @@ export const SprintListItem = (props) => {
|
||||
aria-describedby="date"
|
||||
value={newEndDate}
|
||||
onChange={(e) => setNewEndDate(e.target.value)}
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
slotProps={{ inputLabel: { shrink: true } }}
|
||||
variant="outlined"
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -103,9 +103,7 @@ const QuestionSetForm = ({ initialName, initialQuestionsJson, onSubmit, controls
|
||||
}
|
||||
]
|
||||
`}
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
slotProps={{ inputLabel: { shrink: true } }}
|
||||
/>
|
||||
{controls}
|
||||
</form>
|
||||
|
||||
@@ -83,9 +83,7 @@ const SprintsPage = (props) => {
|
||||
type="number"
|
||||
value={sprintNumber}
|
||||
onChange={(e) => setSprintNumber(e.target.value)}
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
slotProps={{ inputLabel: { shrink: true } }}
|
||||
variant="outlined"
|
||||
/>
|
||||
<TextField
|
||||
@@ -96,9 +94,7 @@ const SprintsPage = (props) => {
|
||||
aria-describedby="startDate"
|
||||
value={startDate}
|
||||
onChange={(e) => setStartDate(e.target.value)}
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
slotProps={{ inputLabel: { shrink: true } }}
|
||||
variant="outlined"
|
||||
/>
|
||||
<TextField
|
||||
@@ -109,9 +105,7 @@ const SprintsPage = (props) => {
|
||||
aria-describedby="endDate"
|
||||
value={endDate}
|
||||
onChange={(e) => setEndDate(e.target.value)}
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
slotProps={{ inputLabel: { shrink: true } }}
|
||||
variant="outlined"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -84,9 +84,7 @@ const TagsPage = (props) => {
|
||||
type="text"
|
||||
value={tagTitle}
|
||||
onChange={(e) => setTagTitle(e.target.value)}
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
slotProps={{ inputLabel: { shrink: true } }}
|
||||
variant="outlined"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -71,9 +71,7 @@ export const TimeLogForm = ({ handleSubmit, disabled, availableTags }) => {
|
||||
aria-describedby="date"
|
||||
value={date}
|
||||
onChange={handleDateChange}
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
slotProps={{ inputLabel: { shrink: true } }}
|
||||
variant="outlined"
|
||||
/>
|
||||
<TextField
|
||||
@@ -86,9 +84,7 @@ export const TimeLogForm = ({ handleSubmit, disabled, availableTags }) => {
|
||||
aria-describedby="time"
|
||||
value={time}
|
||||
onChange={handleTimeChange}
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
slotProps={{ inputLabel: { shrink: true } }}
|
||||
variant="outlined"
|
||||
/>
|
||||
<TextField
|
||||
@@ -101,9 +97,7 @@ export const TimeLogForm = ({ handleSubmit, disabled, availableTags }) => {
|
||||
multiline
|
||||
value={description}
|
||||
onChange={handleDescriptionChange}
|
||||
InputLabelProps={{
|
||||
shrink: true,
|
||||
}}
|
||||
slotProps={{ inputLabel: { shrink: true } }}
|
||||
variant="outlined"
|
||||
/>
|
||||
<TagSelect
|
||||
|
||||
Reference in New Issue
Block a user