Format widget dynamic select input after Mantine v9 fixes.

This commit is contained in:
Thomas Camlong committed 2026-05-20 14:35:07 +02:00
1 parent 9bbce7a20f
commit eb5c4375d6
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,