Skip to content

Commit 43fb134

Browse files
Ruben van LeeuwenDutchBen
authored andcommitted
2102: Fixes clearing value from reactSelect
1 parent 7f4e07b commit 43fb134

File tree

1 file changed

+1
-1
lines changed
  • packages/orchestrator-ui-components/src/components/WfoPydanticForm/fields/WfoReactSelect

1 file changed

+1
-1
lines changed

packages/orchestrator-ui-components/src/components/WfoPydanticForm/fields/WfoReactSelect/WfoReactSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const WfoReactSelect = <ValueType,>({
8686
isLoading={isLoading}
8787
styles={reactSelectInnerComponentStyles}
8888
options={options}
89-
value={selectedValue}
89+
value={selectedValue || null}
9090
isSearchable={true}
9191
isClearable={false}
9292
placeholder={placeholder}

0 commit comments

Comments
 (0)