github htmlstreamofficial/preline v5.1.0
v5.1.0 - 10 fixes and new options from GitHub issue reports

2 hours ago

v5.1.0 — 10 fixes and new options from GitHub issue reports

Released November 12, 2026

The fixes span Advanced Select, Advanced Datepicker, Overlay and the npm package, and three of the reports turned into new options rather than just patches.

⭐ New

🔄 Updates

✅ Fixes and Improvements

  • Fixed: Removed the engines.node field pinning Node to the exact patch version used for reproducible builds; npm install preline no longer fails or warns on other Node versions. #773
  • Fixed: Advanced Select now renders the selected option's title in the toggle as plain text, so escaped markup in option text or apiUrl response titles can no longer inject HTML. HTML in placeholder and option icons still renders as before.
  • Fixed: Fixed Advanced Select in tags mode throwing "Cannot set properties of null" when setValue() was called right after initialization, before the tags input finished its setup. #775
  • Fixed: Fixed Advanced Datepicker shifting dates by one day outside UTC: selected dates, dateFormat output, the default dateMin and "today" now use the local calendar date. Date-only values formatted with HH:mm now show 00:00, and Date objects or timestamps in selectedDates resolve to their local date. #777
  • Fixed: Fixed an inline Advanced Datepicker (inputMode: false) with selectedDates throwing on init and leaving every later datepicker on the page uninitialized. #787 and #788
  • Fixed: Disabled dates in Advanced Datepicker (outside dateMin / dateMax or listed in disableDates) are now dimmed and no longer react to hover, consistent with disabled months and years. #779 and #780
  • Fixed: Pressing Enter on a link or button inside an Overlay (Modal, Offcanvas, responsive sidebar) now activates that element instead of being intercepted by the overlay. This restores keyboard navigation for links in sidebars that stay visible on large screens, and for links and buttons inside an open modal. #790
  • Improvement: Added optionValueAsTitle option to Advanced Select to show each option's value in the dropdown list while still displaying its full text as the toggle label once selected, useful for compact lists like a page-size picker. #774
  • Improvement: Added showTodayButton option to Advanced Datepicker to show a "Today" button below the dates that jumps to the current month and selects today, with a label that follows dateLocale. #783 and #784
  • Improvement: Added opt-in inputModeOptions.closeOnSelect option to Advanced Datepicker to close the calendar as soon as a single date is picked; ranges, multiple dates and time pickers stay open. #781 and #782

Full changelog: https://preline.co/docs/changelog.html#v5.1.0

Don't miss a new preline release

NewReleases is sending notifications on new releases.