Is there a way to evaluate this immediately without returning a closure?
I want to return an array here but I also need to check the operation of the form if it's in
create
or edit
. I don't want to return a closure because it's slower due to querying the database when the user focuses the field. I'd rather load these on page load which returning an array would do.
3 Replies