Skip to content

Commit 7315fe3

Browse files
fix: correction validation
1 parent d375458 commit 7315fe3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Form/SingleSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function SingleSelect({
125125

126126
const getInputLabel = () => {
127127
let inputLabel = label
128-
if (isFilter && !selectedOption) return ''
128+
if (!isFilter && !selectedOption) return ''
129129
if (!selectedOption) return inputLabel
130130

131131
return selectedOption.value === ''

0 commit comments

Comments
 (0)