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
As a workaround I tried to add the nzDisabledDate attribute to the nz-date-picker element like nzDisabledDate={d => d.isAfter('2022-12-31')} but since the date picker is already rendered this has also no effect.
Any other possibility to set a max date?
The text was updated successfully, but these errors were encountered:
No, it seems we only support maxValue on integer and decimal. Also, I can't think of another option. (Well, you could use questionnaire-constraint, but we don't support that either yet.) I've added an internal tracker item for it. Please let me know how critical this is for you. We have a number of fixes and features in process, including R5 support.
Hello,
I tried to set the
maxValue
extension for a date field to no avail: https://jsfiddle.net/ky0gs3tn/1/Is
maxValue
fordate
not (yet) supported?As a workaround I tried to add the
nzDisabledDate
attribute to thenz-date-picker
element likenzDisabledDate={d => d.isAfter('2022-12-31')}
but since the date picker is already rendered this has also no effect.Any other possibility to set a max date?
The text was updated successfully, but these errors were encountered: