type
CheckboxField
CheckboxField configures a true-or-false checkbox field.
Full signature
type CheckboxField struct{ nodeView }Methods
CheckboxField.Access()Access replaces the complete field access policy.
CheckboxField.Admin()Admin replaces the complete admin presentation policy.
CheckboxField.AppendHooks()AppendHooks appends supplied callbacks after existing callbacks in each phase.
CheckboxField.AppendReadHooks()AppendReadHooks appends response-transform hooks after existing callbacks.
CheckboxField.Default()Public method CheckboxField.Default from github.com/riducms/ridu/field.
CheckboxField.DefaultCallback()Read the configured dynamic default without running it.
CheckboxField.DefaultFrom()Use a callback to choose the initial checkbox value when this field is omitted.
CheckboxField.EditAdmin()EditAdmin updates selected admin settings while preserving the rest.
CheckboxField.HookPolicy()Public method CheckboxField.HookPolicy from github.com/riducms/ridu/field.
CheckboxField.Hooks()Hooks replaces the complete field lifecycle hook group.
CheckboxField.Index()Public method CheckboxField.Index from github.com/riducms/ridu/field.
CheckboxField.Label()Public method CheckboxField.Label from github.com/riducms/ridu/field.
CheckboxField.LabelTranslations()Public method CheckboxField.LabelTranslations from github.com/riducms/ridu/field.
CheckboxField.LiveValidate()Add a server check that provides feedback while this field is being edited.
CheckboxField.LiveValidators()Read the live server checks attached to this field.
CheckboxField.Localized()Public method CheckboxField.Localized from github.com/riducms/ridu/field.
CheckboxField.PrependHooks()PrependHooks inserts supplied callbacks before existing callbacks in each phase.
CheckboxField.Private()Public method CheckboxField.Private from github.com/riducms/ridu/field.
CheckboxField.ReadHookPolicy()Public method CheckboxField.ReadHookPolicy from github.com/riducms/ridu/field.
CheckboxField.ReadHooks()ReadHooks replaces all response-transform hooks.
CheckboxField.Rename()Public method CheckboxField.Rename from github.com/riducms/ridu/field.
CheckboxField.ReplaceLiveValidators()Replace this field’s live server checks, or remove them all.
CheckboxField.ReplaceValidators()ReplaceValidators replaces all authoritative save validators.
CheckboxField.Required()Public method CheckboxField.Required from github.com/riducms/ridu/field.
CheckboxField.RestrictAccess()RestrictAccess combines supplied rules with existing access rules; both must allow.
CheckboxField.Unique()Public method CheckboxField.Unique from github.com/riducms/ridu/field.
CheckboxField.Validate()Validate appends one authoritative save validator.
CheckboxField.Validators()Public method CheckboxField.Validators from github.com/riducms/ridu/field.