-
|
I have a Select field that looks like this: Here is my This method parses the Font Awesome icon YAML file to return an array of icon classes. My problem is that, when viewing things like the resource index, it is hitting the How do I get Nova to only load hit the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Ended up just doing it with caching. |
Beta Was this translation helpful? Give feedback.
-
|
You can also use closure so it only resolve when needed Select::make('Icon')->options(function () { return $this->iconOptions(); })->searchable() |
Beta Was this translation helpful? Give feedback.
You can also use closure so it only resolve when needed