refactor(FE): Keep select menus open and show selected options

This commit is contained in:
rstubryan
2026-01-19 13:41:15 +07:00
parent 56d4eca034
commit f4166f4dbd
@@ -760,6 +760,8 @@ const HppPerKandangTab = () => {
onInputChange={setAreaInputValue} onInputChange={setAreaInputValue}
onMenuScrollToBottom={loadMoreAreas} onMenuScrollToBottom={loadMoreAreas}
isLoading={isLoadingAreas} isLoading={isLoadingAreas}
closeMenuOnSelect={false}
hideSelectedOptions={false}
isClearable isClearable
/> />
<SelectInput <SelectInput
@@ -776,6 +778,8 @@ const HppPerKandangTab = () => {
onInputChange={setLocationInputValue} onInputChange={setLocationInputValue}
onMenuScrollToBottom={loadMoreLocations} onMenuScrollToBottom={loadMoreLocations}
isLoading={isLoadingLocations} isLoading={isLoadingLocations}
closeMenuOnSelect={false}
hideSelectedOptions={false}
isClearable isClearable
/> />
<SelectInput <SelectInput
@@ -792,6 +796,8 @@ const HppPerKandangTab = () => {
onInputChange={setKandangInputValue} onInputChange={setKandangInputValue}
onMenuScrollToBottom={loadMoreKandangs} onMenuScrollToBottom={loadMoreKandangs}
isLoading={isLoadingKandangs} isLoading={isLoadingKandangs}
closeMenuOnSelect={false}
hideSelectedOptions={false}
isClearable isClearable
/> />
</div> </div>