iced::widget::text_input

Function focus

Source
pub fn focus<T>(id: impl Into<Id>) -> Task<T>
Expand description

Produces a Task that focuses the TextInput with the given Id.