Replies: 2 comments
-
Just letting you know I'm running into this issue as well. Have you found out how to solve it yet? |
Beta Was this translation helpful? Give feedback.
-
Nope, as most issues... I decided to do my own fork and put my stuff there. Anyway I think that I managed to solve this issue by creating an item first, then on 'update' view add that browserField. Here's the issue posted on Twill spectrum chat: |
Beta Was this translation helpful? Give feedback.
-
Hi, took a look to source code, also asked for help on Spectrum, but I think this may be an issue that needs some investigation.
If I add a browser fieldset on the
form.blade.php
template, everything goes fine.But if I create a
create.blade.php
template and add this browser fieldset. It won't work.I got in console the following error:
TypeError: Cannot read property 'selected' of undefined
Browsing the code, I found on
./vendor/area17/twill/views/partials/form/_browser.blade.php
file the following lines:But I'm unable to find any reference to
$form_fields
variable anywhere, so I'm stuck here as I cannot track what is going on deeper :(Beta Was this translation helpful? Give feedback.
All reactions