Wizard with steps from relationship
It's possible create steps in wizard from relationship?
Like:
Model Survey hasMany Categories
Categories hasMany Answers
In SurveyResource foreach category create step
And in each step create repeater or somethin with answers
3 Replies
I think it's possible. You can use a repeater->relationship() to hasMany items.
The Idea:
Is it possible somehow..
Should be possible with a closure on steps(function($record) { $steps = []; foeach($record->categories as $category} )
and so on