We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9fbc20 commit c02dbd6Copy full SHA for c02dbd6
packages/kit-headless/src/components/select/select-inline.tsx
@@ -84,13 +84,6 @@ export const Select: FunctionComponent<SelectProps> = (props) => {
84
}
85
86
87
- // const isMatch = opts[valuePropIndex].value === props.value;
88
-
89
- // if (!isMatch && props.value) {
90
- // const obj = opts[valuePropIndex];
91
- // obj.value = '';
92
- // opts[valuePropIndex] = obj;
93
- // }
94
return (
95
<SelectImpl {...rest} _valuePropIndex={valuePropIndex} _options={opts}>
96
{props.children}
0 commit comments