method

BlocksField.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[store.Value]

How it works

Use ReplaceLiveValidators to replace the field’s checks.

Full signature

Related types

  • BlocksField

    BlocksField configures an ordered list of rows chosen from the supplied block types.

  • LiveValidator

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

  • Value

    An immutable scalar, object, list, or populated document value.

Related guides