* Checks if a value is valid against the current date format of the DatePicker. * @public * @param value A value to be tested against the current date format
(value: string)
| 721 | * @param value A value to be tested against the current date format |
| 722 | */ |
| 723 | isValidValue(value: string): boolean { |
| 724 | if (value === "" || value === undefined) { |
| 725 | return true; |
| 726 | } |
| 727 | |
| 728 | return !!this.getValueFormat().parse(value); |
| 729 | } |
| 730 | |
| 731 | /** |
| 732 | * Checks if a value is valid against the current date format of the DatePicker. |
no test coverage detected