Open scott-r opened 5 months ago
I added the "disableMaskedInput" flag to the DatePicker components props to silence the error. My understanding of masking the input is that this will allow users to enter dates with potentially invalid format (ex: August vs Aug). However, this is addressed by checking if the dayjs object is valid before fetching from the database. The current behavior is to use an open ended range when the user enters an invalid or null date. This can be changed to requiring either null dates or valid dates. The changes are on the "feature-admin-error-page-2" branch.
Every time the error log updates, it produces errors like this on the console:
ErrorPage.jsx:36 Mask does not support numbers with variable length such as 'M'. Either use numbers with fix length or disable mask feature with 'disableMaskedInput' prop Falling down to uncontrolled no-mask input.