method

UploadField.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[operation.ID]

How it works

Use ReplaceLiveValidators to replace the field’s checks.

Full signature

Related types

  • UploadField

    UploadField configures a link to one file in the target upload collection.

  • LiveValidator

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

  • ID

    ID is the logical write value of a singular relationship. It is distinct from the potentially populated logical read value.

Related guides