TextField
Text fields let users enter and edit text.
The fds-textfield
extends Material web's mwc-textfield-base.
Usage
Import
npm i @finastra/textfield
import '@finastra/textfield';
...
<fds-textfield label="Field me in"></fds-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 for more information about the different input
types.
Example
<fds-textfield type="date" iconTrailing="calendar_today"></fds-textfield>