Skip to content

Commit

Permalink
build: updated value for def option
Browse files Browse the repository at this point in the history
  • Loading branch information
meenakshi-deriv committed Aug 22, 2024
1 parent 87095e3 commit be5d091
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/components/Input/dropdown-field/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ export const InputDropdown = forwardRef<HTMLInputElement, TDropdownProps>(
onKeyDown={() => setShouldFilterList(true)}
readOnly={!isAutocomplete}
type="select"
value={
selectedItem ? reactNodeToString(selectedItem.text) : ""
}
value={selectedItem?.value}
{...getInputProps()}
{...rest}
/>
Expand Down

0 comments on commit be5d091

Please sign in to comment.