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
If you call setData and prepare more than once then collection element names wont get wrapped.
You want : ['collection'][0]['something']
You get: ['something']
Current behavior
prepare runs only once
How to reproduce
You fetch the data from the other source(eg post)
$form->setData($data);
$form->prepare();
$form->isValid()
$form->getData()
You need to call setData again
$form->setData($data)
$form->prepare();
Expected behavior
setData should set the isPrepared flag false.
The text was updated successfully, but these errors were encountered:
Bug Report
Summary
If you call setData and prepare more than once then collection element names wont get wrapped.
You want : ['collection'][0]['something']
You get: ['something']
Current behavior
prepare runs only once
How to reproduce
Expected behavior
setData should set the isPrepared flag false.
The text was updated successfully, but these errors were encountered: