Skip to content
DocsReference
DocsReferenceGitHub

Search Ridu documentation

tab controls

Loading search…

Search will be ready in a moment.

No matching results

Try a different term or search every section.

Loading search.

Preparing index…View all results →↑↓ move↵ openesc close
Get started
Modules/field
MTextListField.LiveValidators

Go packages

riducorefieldoperationqueryschemastorestoragemigrationmigration/payloadprotocol (Go)plugintestconformance

Official adapters

postgressqlitemongodbstorage/localstorage/s3

Official plugins

graphqlmcprichtextseoformbuilder@riducms/plugin-richtext@riducms/plugin-seo@riducms/plugin-form-builder

TypeScript packages

@riducms/sdk@riducms/protocol@riducms/plugin@riducms/build@riducms/ui@riducms/admin@riducms/translations@riducms/cli/run

Tooling

ridu CLI
Allfieldriducoreoperationqueryschemastorestoragemigrationmigration/payloadprotocol (Go)plugintestpostgressqlitemongodbgraphqlmcprichtextseoformbuilderstorage/localstorage/s3conformance@riducms/sdk@riducms/protocol@riducms/plugin@riducms/build@riducms/ui@riducms/plugin-richtext@riducms/plugin-seo@riducms/plugin-form-builder@riducms/admin@riducms/translations@riducms/cli/runridu CLI
All 1023TextareaField.HookPolicyTextListField.LabelTextListField.LabelTranslationsTextListField.LiveValidateTextListField.LiveValidatorsTextListField.LocalizedTextListField.MaxLengthTextListField.MaxRows

method

TextListField.LiveValidators

Read the live server checks attached to this field.

ReturnsHow it worksFull signature

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 TextListField) LiveValidators() []LiveValidator[[]string]

Source field/live_validation.go:508

Related types

  • TextListField

    A configurable list of strings.

  • LiveValidator

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

Related APIs

  • LiveValidationContext

    The request and surrounding values available to a live server validation callback.

Related guides

  • Live server validation
  • Text and number lists