method

RadioField.ReplaceLiveValidators

Replace this field’s live server checks, or remove them all.

Arguments

ArgumentTypeDescription
values[]LiveValidator[string]The complete replacement list of non-nil callbacks. Pass no arguments to disable live checks for this field.

Returns

A new field definition with the supplied live checks. Save validators and other field settings are preserved.

RadioField

How it works

Use this when customizing an existing field definition. LiveValidate appends instead of replacing.

Full signature

Related types

  • RadioField

    RadioField configures a field for choosing one value with radio buttons.

  • LiveValidator

    Check an unsaved field value on the server and return feedback before the author saves.

Related guides