fn input_state(&self) -> InputState {
        match &self.props.validator {
            Validator::Custom(validator) => validator(&self.value),
            _ => self.props.state,
        }
    }
/// Get the effective input state
///
/// This may be the result of the validator, or if none was set, the provided input state
/// from the properties.
Get the effective input state
This may be the result of the validator, or if none was set, the provided input state
from the properties.
Get the effective input state This may be the result of the validator or if none was set the provided input state from the properties .
fn input_state(&self) -> InputState {
        match &self.props.validator {
            Validator::Custom(validator) => validator(&self.value),
            _ => self.props.state,
        }
    }
fn input_state ( & self ) -> InputState { match & self . props . validator { Validator :: Custom ( validator ) => validator ( & self . value ) , _ => self . props . state , } }
Get the effective input state
This may be the result of the validator, or if none was set, the provided input state
from the properties.
Get the effective input state This may be the result of the validator or if none was set the provided input state from the properties .
&self
&self