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
Describe the bug
The validate cell function within the datagrid passes the grid information that contains information about the column's setting, eg disabled dates. This is not used by the built in validation rules of date, or availableDate, and the format and other settings are not used in the rules.
The date rule is unable to parse the date using the sourceFormat, or dateFormat used on the grid and will fallback to the short format for the locale, and this may or may not work.
The availableDate rule does not work as the datePicker options are not extracted from the passed gridInfo.column.editorOptions.
tmcconechy
changed the title
Date Validation on the Datagrid
Datagrid/Validation: Date Validation on the Datagrid not working the same as fields
Jan 7, 2021
Describe the bug
The validate cell function within the datagrid passes the grid information that contains information about the column's setting, eg disabled dates. This is not used by the built in validation rules of date, or availableDate, and the format and other settings are not used in the rules.
The date rule is unable to parse the date using the sourceFormat, or dateFormat used on the grid and will fallback to the short format for the locale, and this may or may not work.
The availableDate rule does not work as the datePicker options are not extracted from the passed gridInfo.column.editorOptions.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The standard validations work in the same way if they are either a field or within a datagrid.
Version
Platform
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: