File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/components/cards/dialogs/allowedSps Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -222,19 +222,20 @@ export const AllowedSPs: React.FC<ComponentProps> = ({
222
222
< Spinner />
223
223
</ div >
224
224
) : null }
225
- < FormControl fullWidth >
225
+ < FormControl fullWidth >
226
226
< InputLabel > Max Deviation</ InputLabel >
227
227
< OutlinedInput
228
228
id = "outlined-controlled"
229
+ type = "number"
229
230
endAdornment = { < InputAdornment position = "end" > %</ InputAdornment > }
230
- disabled = { true } // make it dynamically in the future
231
+ disabled = { false } // make it dynamically in the future
231
232
label = "Max Deviation"
232
233
value = { maxDeviationInPercentage ?? '' }
233
234
onChange = { ( event : React . ChangeEvent < HTMLInputElement > ) => {
234
- setMaxDeviationInPercentage ( event . target . value )
235
+ setMaxDeviationInPercentage ( event . target . value )
235
236
} }
236
237
/>
237
- </ FormControl >
238
+ </ FormControl >
238
239
< div className = "flex flex-col space-y-4 my-8" >
239
240
< div > SP count: { data . length } </ div >
240
241
{ data . map ( ( item , index ) => (
You can’t perform that action at this time.
0 commit comments