“hasDatepicker” cannot be used as a second class
-
Still doing testing on my localhost test website — WordPress 6.2.2 running PHP 8.1. If you code an HTML field, using hasDatepicker as a 2nd class, it disables WP Datepicker on all fields within the form. For example, try this:
<input type="text" class="date-field hasDatepicker" />
where “date-field” is specified in the Settings. (Doesn’t matter if hasDatepicker is specified in settings or not.)
Note that this worked correctly in versions up through 1.9.9, but now seems to disable WP Datepicker. On the other hand, if I enter this:
<input type="text" class="date-field anyclass" />
WP Datepicker works fine.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘“hasDatepicker” cannot be used as a second class’ is closed to new replies.