xenial-black
xenial-black6mo ago

<Select

<Select showSearch={false} style={{ width: 150 }} placeholder="Firms" onSearch={undefined}
onChange={undefined} searchValue={""} {...firmSelect} /> Hi guys. Sorry for asking here because ai couldnt solve. This select still do Api calls to the server. How can I disable it?
1 Reply
afraid-scarlet
afraid-scarlet6mo ago
i think this is because of {...firmSelect} if you have static options for your select you can set them without useSelect hook

Did you find this page helpful?