From a5f8eb60c68b5b1d6e6d1316439b45748799107a Mon Sep 17 00:00:00 2001 From: rstubryan Date: Thu, 30 Oct 2025 13:32:32 +0700 Subject: [PATCH] fix(FE-Storyless): update SelectInput value handling to use undefined instead of null for better compatibility --- src/components/input/SelectInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/input/SelectInput.tsx b/src/components/input/SelectInput.tsx index d37dcab4..b663b923 100644 --- a/src/components/input/SelectInput.tsx +++ b/src/components/input/SelectInput.tsx @@ -187,7 +187,7 @@ const SelectInput = (props: SelectInputProps) => { > instanceId='select' - value={value ?? (isMulti ? [] : null)} + value={value ?? (isMulti ? [] : undefined)} onChange={onChange ? handleChange : undefined} options={options} menuIsOpen={openMenu}