pub fn text_area<M: 'static>(
placeholder: impl Into<String>,
value: impl Into<String>,
on_input: impl Fn(String) -> M + 'static,
) -> Node<M>Expand description
A field to type several lines into, showing value: a message. It grows with its text up
to a few lines, then scrolls. Sends on_input with the new text on every change, and
on_submit on Enter; Shift+Enter starts a new line. In a popover it takes
the focus when it appears, like a text_input. One per popover page.