method
RadioField.AppendReadHooks
AppendReadHooks appends response-transform hooks after existing callbacks.
Arguments
| Argument | Type | Description |
|---|---|---|
value | ReadHooks[string] | The value value. |
Returns
The declared result.
RadioFieldFull signature
func (f RadioField) AppendReadHooks(value ReadHooks[string]) RadioFieldRelated types
RadioFieldRadioField configures a field for choosing one value with radio buttons.
ReadHooksReadHooks registers response transformations using the field's output type, which can differ from its write type when a relationship is populated.