Skip to content
Snippets Groups Projects
Commit a4d19e56 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

chore(deps): bump MUI to v6

parent 71e5a3db
No related branches found
No related tags found
1 merge request!178feat: Allow to download all consents
Pipeline #108934 passed
......@@ -226,16 +226,9 @@ export const CustomPopupForm = ({
{popupDuration.type !== 'infinite' && (
<TextField
style={{ width: '6rem' }}
inputProps={{
inputMode: 'numeric',
pattern: '[0-9]*',
}}
id="outlined-number"
type="number"
label={mapDuration[popupDuration.type]}
InputLabelProps={{
shrink: true,
}}
value={popupDuration.duration}
onChange={e =>
setPopupDuration(prev => ({
......@@ -243,6 +236,16 @@ export const CustomPopupForm = ({
duration: Number(e.target.value),
}))
}
slotProps={{
htmlInput: {
inputMode: 'numeric',
pattern: '[0-9]*',
},
inputLabel: {
shrink: true,
},
}}
/>
)}
</FormControl>
......@@ -277,7 +280,6 @@ export const CustomPopupForm = ({
/>
</div>
</div>
<div className="buttons">
<Button variant="outlined" onClick={() => setCustomPopup(initialData)}>
Annuler
......
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment