Skip to content

Conversation

@drgrice1
Copy link
Member

@drgrice1 drgrice1 commented Jan 7, 2026

The input that is initally inserted into the page has the id that the label points to. However, that input is hidden and replaced with the visible input for the flatpickr date selector, and so the label does not work. This moves the id of the original and now hidden input onto the visible flatpickr input.

This is the same technique used for other date/time inputs in the htdocs/js/DatePicker/datepicker.js file, and should have been implemented in this special case as well.

The input that is initally inserted into the page has the id that the
label points to.  However, that input is hidden and replaced with the
visible input for the flatpickr date selector, and so the label does not
work.  This moves the id of the original and now hidden input onto the
visible flatpickr input.

This is the same technique used for other date/time inputs in the
`htdocs/js/DatePicker/datepicker.js` file, and should have been
implemented in this special case as well.
@drgrice1 drgrice1 force-pushed the fix-import-date-shift-label branch from 5be1597 to b671151 Compare January 8, 2026 12:03
@drgrice1
Copy link
Member Author

drgrice1 commented Jan 9, 2026

Note that this is redundant (and conflicts) with pull request #2882. So if that is merged first, then this pull request should just be dropped. This is only needed if that pull request is never merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant