Flux Select for selecting a model #732
Unanswered
mariomeyer
asked this question in
Feature Requests
Replies: 1 comment 1 reply
-
@mariomeyer To me, that's a specialized use of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The idea is to make Flux select be able to iterate through Collections and magically select one of them just like MaryUI does (https://mary-ui.com/docs/components/select)
Let's say I have a blade component for a
$product
(App\Models\Product) but that product has$product->variations
(App\Models\Product\Variation).It would be lovely to not have to manually generate the iteration on the blade and create methods for setting the selected variation based on the ID. This could all be wrapped by
flux:select
.Something like:
Beta Was this translation helpful? Give feedback.
All reactions