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

Method set_custom_error

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

Source from the content-addressed store, hash-verified

78 self
79 }
80 pub fn set_custom_error(&mut self, value: bool) -> &mut Self {
81 self.custom_error = value;
82 self
83 }
84 pub fn set_pattern_mismatch(&mut self, value: bool) -> &mut Self {
85 self.pattern_mismatch = value;
86 self

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected