MCPcopy Create free account
hub / github.com/angular-rust/yew-components / set_bad_input

Method set_bad_input

src/text_inputs/validity_state.rs:76–79  ·  view source on GitHub ↗
(&mut self, value: bool)

Source from the content-addressed store, hash-verified

74 }
75
76 pub fn set_bad_input(&mut self, value: bool) -> &mut Self {
77 self.bad_input = value;
78 self
79 }
80 pub fn set_custom_error(&mut self, value: bool) -> &mut Self {
81 self.custom_error = value;
82 self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected