Format widget dynamic select input after Mantine v9 fixes.
This commit is contained in:
1 file changed
+1
-3
@@ -56,9 +56,7 @@ export const WidgetDynamicSelectInput = ({ property, kind, options }: CommonWidg
|
||||
.concat(
|
||||
currentOption !== null &&
|
||||
!selectOptions.some((option) =>
|
||||
typeof option === "string"
|
||||
? option === currentOption.value
|
||||
: option.value === currentOption.value,
|
||||
typeof option === "string" ? option === currentOption.value : option.value === currentOption.value,
|
||||
)
|
||||
? {
|
||||
value: currentOption.value,
|
||||
|
||||
Reference in new issue
Block a user