pub fn with_error(widget: Widget, message: impl Into<String>) -> Widget
Attach an inline validation message to a Widget::TextField, marking it invalid. No-op on any other widget.
Widget::TextField