DateInputFormatPlaceholder

The union type which defines all possible format options of the DateInput placeholder.

The available options are:

  • 'wide'Displays the full description of the format section. For example, turns MM into month. Retrieved from CLDR.
  • 'narrow'Displays the narrow description of the format section. For example, turns MM into mo.. Retrieved from CLDR.
  • 'short'Displays the short description of the format section. For example, turns MM into mo.. Retrieved from CLDR.
  • 'formatPattern'Directly displays the format section. For example, turns MM into MM.

Values

  • "wide"
  • "narrow"
  • "short"
  • "formatPattern"

In this article

Not finding the help you need?