You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe you are right, since multiple is actually handled with "sub-forms" the source should also be handled for them
Maybe another use case that is not handled and would require a source-improvement is having multiple fields having the same source, like:
Your favourite colour:
<selectname="favourite_colour" source="colours"></select>
You second favourite colour:
<selectname="second_favourite_colour" source="colours" /></select>
I have
This fails to set the options correctly with
$form->source('nominals', $this->nominals);
and instead renders asinstead of filling in the select options as expected.
I can see in 'Form.php'
This is only getting the sources for the outer form, not any
multiples
within it.This could be changed to recurse into any
multiples
but then there is the consideration of what the javascript is going to do on row addition etc.Can you suggest a sensible workaround, or point me in the right direction to create a PR?
Cheers
The text was updated successfully, but these errors were encountered: