React-admin: Misleading of react-admin doc of <DateTimeInput>

Created on 13 Dec 2019  路  7Comments  路  Source: marmelab/react-admin

For vascofg/react-admin-date-inputs. is not updated anymore, and it is not suitable for new version react admin, please fix the react-admin doc of part.
Thanks.

needs more info

Most helpful comment

But your doc tells me to use a library which is not valid anymore if I want to use material-ui styled DateTimeInput

Tip: For a material-ui styled <DateTimeInput> component, check out vascofg/react-admin-date-inputs.

All 7 comments

Why is it not suitable? Is there a bug when you use it?

Feel free to open a PR to remove this library from the documentation

When using this library, It failed to compile for the wrong dependency of it.
I looked into the source code and found it is importing 'material-ui-pickers/utils/MuiPickersUtilsProvider' which is located at the wrong path.
And I can not solve the problem.
'Can't resolve 'material-ui-pickers/utils/MuiPickersUtilsProvider' shows in the console.

Well, you need to open an issue in their repo. We can't keep track of all third-party packages.

But your doc tells me to use a library which is not valid anymore if I want to use material-ui styled DateTimeInput

Tip: For a material-ui styled <DateTimeInput> component, check out vascofg/react-admin-date-inputs.

Same here

They just updated the library two days ago.
https://github.com/vascofg/react-admin-date-inputs/pull/40

Now is compatible with react-admin v3.

Here is a discussion with the author of v3 PR regarding missing changes:
https://github.com/vascofg/react-admin-date-inputs/issues/42#issuecomment-585380650

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mbj36 picture mbj36  路  3Comments

aserrallerios picture aserrallerios  路  3Comments

samanmohamadi picture samanmohamadi  路  3Comments

ericwb picture ericwb  路  3Comments

phacks picture phacks  路  3Comments