This commit is contained in:
2026-04-07 06:32:40 +03:00
parent 24a44481a0
commit 11db1e6941
101 changed files with 54585 additions and 39160 deletions
@@ -54,6 +54,12 @@ export function AsyncSelectField<TOption = AsyncOption>({
value={value}
onValueChange={(val) => onChange(val)}
disabled={disabled}
isItemEqualToValue={(item, val) => {
if (item !== null && typeof item === "object" && "value" in (item as object)) {
return (item as any).value === (val as any)?.value
}
return item === val
}}
onInputValueChange={(val, { reason }) => {
if (reason === "input-change") {
onInputValueChange?.(val)