Replies: 3 comments
-
Hi @iedex can you please clarify? How are you instantiating the field? |
Beta Was this translation helpful? Give feedback.
-
Hi @ifox
Reading the code from the link in issue I realized that, that if statement will never be true. I think that if count($modules) === 1 then $modules[0] is set. I removed the "!" from && ! isset($modules[0]) and after that it worked. (just for test) Before that, the browser had the module selector in header, with the only module, and the params were not sent to the endpoint. After the change, the module selector in browser window dissapeared and the params were sent. I'm not sure if that "if" is the problem... |
Beta Was this translation helpful? Give feedback.
-
Thanks. We'll review. In the meantime, see if this example helps: https://github.com/area17/twill/blob/3.x/examples/basic-page-builder/app/Http/Controllers/Twill/MenuLinkController.php#L27 |
Beta Was this translation helpful? Give feedback.
-
I think here is a problem:
twill/src/Services/Forms/Fields/Browser.php
Line 148 in adc1237
When using only one module, the browser is acting like using multiple modules and the params([...]) are not sent.
Beta Was this translation helpful? Give feedback.
All reactions