diff --git a/libs/web-components/textfield/README.md b/libs/web-components/textfield/README.md index f5f7ba3bf..bcf82d33e 100644 --- a/libs/web-components/textfield/README.md +++ b/libs/web-components/textfield/README.md @@ -31,3 +31,15 @@ import '@finastra/textfield'; ``` + +### Native pickers + +Date pickers and Time pickers allow selecting a value from a standard format. + +The **Textfield** support date `type="date"`, time `type="time"` and date&time `type="datetime-local"` pickers. See [MDN web docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date) for more information about the different `input` types. + +#### Example + +```html + +``` diff --git a/libs/web-components/textfield/demo/index.html b/libs/web-components/textfield/demo/index.html index d3488d83d..cbcc2cb23 100644 --- a/libs/web-components/textfield/demo/index.html +++ b/libs/web-components/textfield/demo/index.html @@ -18,6 +18,14 @@ + + + + + + + +