static/jsvm/classes/AutodateField.html
AutodateField defines an "autodate" type field, aka. field which datetime value could be auto set on record create/update.
This field is usually used for defining timestamp fields like "created" and "updated".
Requires either both or at least one of the OnCreate or OnUpdate options to be set.
columnTypefindSettergetHiddengetIdgetNamegetSysteminterceptprepareValuesetHiddensetIdsetNamesetSystemtypevalidateSettingsvalidateValue
hiddenidnameonCreateonUpdatepresentablesystem
Optional data: Partial<core.AutodateField>ColumnType implements [Field.ColumnType] interface method.
FindSetter implements the [SetterFinder] interface.
GetHidden implements [Field.GetHidden] interface method.
GetId implements [Field.GetId] interface method.
GetName implements [Field.GetName] interface method.
GetSystem implements [Field.GetSystem] interface method.
Intercept implements the [RecordInterceptor] interface.
-
- (): void
-
PrepareValue implements [Field.PrepareValue] interface method.
SetHidden implements [Field.SetHidden] interface method.
SetId implements [Field.SetId] interface method.
SetName implements [Field.SetName] interface method.
SetSystem implements [Field.SetSystem] interface method.
Type implements [Field.Type] interface method.
ValidateSettings implements [Field.ValidateSettings] interface method.
ValidateValue implements [Field.ValidateValue] interface method.
hidden: boolean
Hidden hides the field from the API response.
id: string
Id is the unique stable field identifier.
It is automatically generated from the name when adding to a collection FieldsList.
name: string
Name (required) is the unique name of the field.
onCreate: boolean
OnCreate auto sets the current datetime as field value on record create.
onUpdate: boolean
OnUpdate auto sets the current datetime as field value on record update.
presentable: boolean
Presentable hints the Dashboard UI to use the underlying field record value in the relation preview label.
system: boolean
System prevents the renaming and removal of the field.
OSLightDark
Generated using TypeDoc