options
prop isn't supported for SelectInput but yet Included in the Docs - https://marmelab.com/react-admin/doc/4.14/SelectInput.html#options
#9352
Labels
What you were expecting:
I was hoping for more clarity in the component documentation; it appears to be a bit ambiguous at times.
What happened instead:
The doc here says the
SelectInput
props supports anoptions
props and it also mentioned that it uses Material UI Select under the hood but from looking at the source code here, it uses ResettableTextField which uses TextField under hood.Steps to reproduce:
From the docs, it says you can pass in an
options
props but trying to do that throws a TS error because that isn't supported.Related code:
https://marmelab.com/react-admin/doc/4.14/SelectInput.html#options
Other information:
Environment
The text was updated successfully, but these errors were encountered: