Skip to main content

access

Function access 

Source
pub fn access(ctx: &Context, id: Id, state: &FieldState)
Expand description

Gives a field’s state to assistive technologies: required, invalid (its message as the description), disabled (its reason as the description), read-only, busy while pending. A modified field says so in its description.