Table of Contents

MBDateTimeField

Summary

An MBTextField designed for either a date or datetime-local value input. Has the following properties

Detail

  • Includes MBTextField properties; plus
  • Minimum and maximum datetimes;
  • Can suppress the default date
  • Applies density subsystem - note that filled text fields with density of -2 or less ignore labels by design within Material Theme.
  • Renders Blazor validation messages in Material Theme's style. see the Form Validation Article.

Caveats

Note the use of multiple parameters that presume invariance during the life of this component.

  • DateOnly
  • MaxDate
  • MinDate
  • SuppressDefaultDate

 

Components Docs