Use nldd-date-field/nldd-date-picker in the schedule popover #166
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
NLDD 0.8.70 ships nldd-date-picker and nldd-date-field. TimePresetPicker.vue now uses a native input type="date" (with a workaround comment: datetime-local hid the popover submit button). The NLDD field opens its calendar in an nldd-popover (bottom sheet on mobile), supports min/max as today+Nd relative bounds, parses typed dates generously and follows the APG grid keyboard model. Replace the native input and drop the workaround.
Done. TimePresetPicker.vue:325-334 uses nldd-date-field with a slotted nldd-date-picker (week-numbers), size=md for the 44px control box, min bound via :min.
The native input type=date is gone; the datetime-local workaround note in the header comment (line 11) is stale and gets removed in the current NLDD pass.
Note for anyone landing here from #182: the time half is still a native input type=time (line 313). That was correct at the time - NLDD had no time field. As of 0.8.78 it does (nldd-time-field + nldd-time-picker), so that half is now tracked in #182.