kendo-ui-core
kendo-ui-core copied to clipboard
Implement unmaskOnPost configuration option for the DateInput
Bug report
When the DateInput is part of a form, upon form submission if no value is entered the placeholder is submitted. It would be useful if the DateInput provides a configuration option to unmask on post, similar to the MaskedTextBox unmaskOnPost configuration option.
Reproduction of the problem
- Run this dojo
- Do not enter any values
- Press submit
Current behavior
Inspect the Network tab and note the value submitted for Time:
Time: hours:minutes:seconds
Expected/desired behavior
No value should be submitted
Environment
- Kendo UI version: 2022.1.119
- Browser: [all]
@aleksandarevangelatov any idea whether or not this improvement will be implemented?
Can we get a quick fix on this or a workaround?