Skip to main content

with_error

Function with_error 

Source
pub fn with_error(widget: Widget, message: impl Into<String>) -> Widget
Expand description

Attach an inline validation message to a Widget::TextField, marking it invalid. No-op on any other widget.