You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the docs, the filterPlaceholder parameter of filterParams can be assigned to Date filters. I have tried to provide them as various string formats, but it has no effect on the placeholder text, even when the browserDatePicker property is set to False.
I suspect this is not an issue with dash-ag-grid but with ag-grid itself: https://github.com/ag-grid/ag-grid/issues?q=label%3AAG-3735+is%3Aclosed. As the issue has been in their backlog for quite some time, I think it would be necessary to remove this parameter from the docs. If there is a way to override the locale (since the date format is locale dependent for the Date selector), could you please provide an example?
Hi @msz0ke - You are correct that this looks like an issue in the upstream AG Grid library. The recommended workaround is to use a custom date picker component and you can find an example in the docs here https://dash.plotly.com/dash-ag-grid/cell-editor-components.
We can make a note of this issue in the docs, but I don't recommend removing it because the placeholder can be used in custom components and other data types.
Since there will be no changes to this library, this will be closed. This would be a great topic for the community forum to discuss other options for workarounds.
According to the docs, the
filterPlaceholder
parameter offilterParams
can be assigned to Date filters. I have tried to provide them as various string formats, but it has no effect on the placeholder text, even when thebrowserDatePicker
property is set toFalse
.I suspect this is not an issue with
dash-ag-grid
but withag-grid
itself: https://github.com/ag-grid/ag-grid/issues?q=label%3AAG-3735+is%3Aclosed. As the issue has been in their backlog for quite some time, I think it would be necessary to remove this parameter from the docs. If there is a way to override the locale (since the date format is locale dependent for the Date selector), could you please provide an example?Related MRE:
The text was updated successfully, but these errors were encountered: