Skip to Content
NSUI

Date picker

A date field with a calendar, built into nsui-input.

The date picker is not a separate element. Use nsui-input type="date": it shows a text field in the locale's date format and a calendar button that opens a month grid below the field. The full reference is in Input › Date.

What it does

  • Value: always ISO YYYY-MM-DD, in events, in form data and for NetSuite. The field shows the date in the locale format.
  • Typing: type a date in the locale format (12/24/2026 in en-US) or as ISO. Text that is not a date shows the error style and blocks form submission.
  • Limits: days before min and after max are struck through and cannot be picked.
  • Locale: locale sets the format, the month and weekday names, and the first day of the week.

Keyboard

Alt+ArrowDown in the field, or Enter on the calendar button, opens the calendar. In the calendar, the arrow keys move by day and week, PageUp and PageDown move by month (with Shift, by year), Home and End go to the week edges, Enter picks the day, and Escape closes and returns to the field.

Not available yet

There is no calendar without a field (always open on the page) and no date range picker. Ask for them if a page needs them.

NSUI is a community project. It is not an official Oracle NetSuite product. NetSuite is a trademark of Oracle.

On this page