method
RadioField.LiveValidators
Read the live server checks attached to this field.
Returns
A copy of the registered callback list, in registration order. Changing the slice does not change the field definition.
[]LiveValidator[string]How it works
Use ReplaceLiveValidators to replace the field’s checks.
Full signature
func (f RadioField) LiveValidators() []LiveValidator[string]Related types
RadioFieldRadioField configures a field for choosing one value with radio buttons.
LiveValidatorCheck an unsaved field value on the server and return feedback before the author saves.