Derived value
Calculates a value based on other fields within the same item and stores it. The value is recalculated each time the fields it depends on are changed
Constructor params
new FieldTypes.DerivedValue( new FieldTypes.Text(), { fields: ["username", "surname"], // refresh when these fields are changed deriving_fn: async (username: string, surname: string) => // calculate new value based on those fields `${username} ${surname}`, } );
File Metadata
File Metadata
- Mime Type
- text/plain
- Expires
- Wed, May 7, 19:43 (1 d, 6 h)
- Storage Engine
- blob
- Storage Format
- Raw Data
- Storage Handle
- 636085
- Default Alt Text
- derived-value.remarkup (517 B)