method
MultiSelectField.DefaultCallback
Read the configured dynamic default without running it.
Returns
The configured callback, or nil if this field has a literal default or no default. Check for nil before calling it in a test.
DefaultFunc[[]string]How it works
Use this accessor to inspect a reusable field or test its callback directly. Application saves let Ridu decide when to run the callback and provide its context. Reading the callback does not calculate a value or apply validation.
Full signature
func (f MultiSelectField) DefaultCallback() DefaultFunc[[]string]Related types
MultiSelectFieldMultiSelectField configures a field for choosing several values from a fixed list.
DefaultFuncChoose a field’s initial value on the server using the request, user, locale, or nearby values.