pub fn text_field(props: impl TextFieldPropsTrait + 'static) -> Dom
Expand description

Creates a text input element for accepting user data

The return tuple contains: 0: input Dom entry 1: output of the component, containing a boolean signal for the validity of the input according to the validator