method
NumberListField.DefaultCallback
Read the configured dynamic default.
Example
field.NumberList("availableSizes").DefaultCallback()Returns
The configured default callback, or nil; it is not executed.
DefaultFunc[[]float64]How it works
Returns nil when no dynamic default is configured. Reading the callback does not execute it.
Full signature
func (f NumberListField) DefaultCallback() DefaultFunc[[]float64]Related types
NumberListFieldA configurable list of numbers.
DefaultFuncChoose a field’s initial value on the server using the request, user, locale, or nearby values.