type
BlocksField
BlocksField configures an ordered list of rows chosen from the supplied block types.
Full signature
type BlocksField struct{ nodeView }Methods
BlocksField.Access()Access replaces the complete field access policy.
BlocksField.Admin()Admin replaces the complete admin presentation policy.
BlocksField.AppendHooks()AppendHooks appends supplied callbacks after existing callbacks in each phase.
BlocksField.AppendReadHooks()AppendReadHooks appends response-transform hooks after existing callbacks.
BlocksField.EditAdmin()EditAdmin updates selected admin settings while preserving the rest.
BlocksField.EditBlocks()EditBlocks edits a detached block declaration slice and publishes it only when the edit succeeds. Field-owned behavior and presentation are preserved.
BlocksField.HookPolicy()Public method BlocksField.HookPolicy from github.com/riducms/ridu/field.
BlocksField.Hooks()Hooks replaces the complete field lifecycle hook group.
BlocksField.Label()Public method BlocksField.Label from github.com/riducms/ridu/field.
BlocksField.LabelTranslations()Public method BlocksField.LabelTranslations from github.com/riducms/ridu/field.
BlocksField.LiveValidate()Add a server check that provides feedback while this field is being edited.
BlocksField.LiveValidators()Read the live server checks attached to this field.
BlocksField.Localized()Public method BlocksField.Localized from github.com/riducms/ridu/field.
BlocksField.MaxRows()Public method BlocksField.MaxRows from github.com/riducms/ridu/field.
BlocksField.MinRows()Public method BlocksField.MinRows from github.com/riducms/ridu/field.
BlocksField.PrependHooks()PrependHooks inserts supplied callbacks before existing callbacks in each phase.
BlocksField.Private()Public method BlocksField.Private from github.com/riducms/ridu/field.
BlocksField.ReadHookPolicy()Public method BlocksField.ReadHookPolicy from github.com/riducms/ridu/field.
BlocksField.ReadHooks()ReadHooks replaces all response-transform hooks.
BlocksField.References()References selects registered definitions in picker order. Inline declarations and references are mutually exclusive and validated during resolution.
BlocksField.Rename()Public method BlocksField.Rename from github.com/riducms/ridu/field.
BlocksField.ReplaceLiveValidators()Replace this field’s live server checks, or remove them all.
BlocksField.ReplaceValidators()ReplaceValidators replaces all authoritative save validators.
BlocksField.Required()Public method BlocksField.Required from github.com/riducms/ridu/field.
BlocksField.RestrictAccess()RestrictAccess combines supplied rules with existing access rules; both must allow.
BlocksField.Validate()Validate appends one authoritative save validator.
BlocksField.Validators()Public method BlocksField.Validators from github.com/riducms/ridu/field.