fix: update NFS version select to use controlled value (#329)
This commit is contained in:
parent
1d2e737a98
commit
d0dd74a626
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ export const NFSForm = ({ form }: Props) => {
|
|||
render={({ field }) => (
|
||||
<FormItem>
|
||||
<FormLabel>Version</FormLabel>
|
||||
<Select onValueChange={field.onChange} defaultValue="4.1">
|
||||
<Select onValueChange={field.onChange} value={field.value}>
|
||||
<FormControl>
|
||||
<SelectTrigger>
|
||||
<SelectValue placeholder="Select NFS version" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue