Skip to content

Commit 1c9a1c5

Browse files
author
0x4d
committed
Remove disabled property on Select
1 parent 21001de commit 1c9a1c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/frontend/src/pages/Residences/components/Form/HousingType.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Controller, useFormContext } from 'react-hook-form'
1212
import HousingTypeComponentSwitcher from '../HousingTypeComponentSwitcher'
1313

1414
const HousingType = () => {
15-
const { control, disabled } = useFormContext()
15+
const { control } = useFormContext()
1616

1717
return (
1818
<Grid container columnSpacing={1} className="form-field-group">
@@ -36,7 +36,6 @@ const HousingType = () => {
3636

3737
<Select
3838
size="small"
39-
disabled={disabled}
4039
displayEmpty
4140
error={fieldState.invalid}
4241
{...field}

0 commit comments

Comments
 (0)