method
TextareaField.PrependHooks
PrependHooks inserts supplied callbacks before existing callbacks in each phase.
Arguments
| Argument | Type | Description |
|---|---|---|
value | Hooks[string] | The value value. |
Returns
The declared result.
TextareaFieldFull signature
func (f TextareaField) PrependHooks(value Hooks[string]) TextareaFieldRelated types
TextareaFieldTextareaField configures a multi-line text field.
HooksHooks registers transforms and event callbacks for one field. Each list runs in declaration order for each field occurrence, including nested array rows. Collection or global hooks run first in the same phase, except AfterCommit, where field callbacks run first. Use ReadHooks for response transformations.