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