Radio
->options($options)
A list or flat
key => value
basedArray
,Collection
orClosure
.OBSERVE: if you use a callable, it will be executed on EVERY re-render of the component! Maybe you should consider setting the
$options
inmount(
) instead?You can use a component method that returns an array;
->options($this->someMethod())
Last updated