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
MNumberListField.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 1023NumberField.MaxNumberListField.LabelNumberListField.LabelTranslationsNumberListField.LiveValidateNumberListField.LiveValidatorsNumberListField.LocalizedNumberListField.MaxNumberListField.MaxRows

method

NumberListField.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[[]float64]

How it works

Use ReplaceLiveValidators to replace the field’s checks.

Full signature

func (f NumberListField) LiveValidators() []LiveValidator[[]float64]

Source field/live_validation.go:529

Related types

  • NumberListField

    A configurable list of numbers.

  • 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