Forms

LocaleProvider

Set the locale inherited by date controls in part of an interface.

Basic usage

The first DateInput inherits the provider locale. The second displays the same date in French by setting its own locale. The underlying calendar date stays the same.

2292028
29022028

API

Key props and defaults.

PropValues and behaviorDefault
localeBCP 47 locale tagen-US
dirltr | rtlltr
childrenJSX.Element—