Note that there are some explanatory texts on larger screens.

plurals
  1. POQSelectSection not saving values when scrolling QuickDialog
    primarykey
    data
    text
    <p>I've been struggling with this for 3 days. The documentation for the QSelectSection is the class itself, and the QuickDialog docs are minimal at best.</p> <p>I'm trying to use the QSelectSection using the QuickDialog framework. I have it working for most of the controls (after diving head first into the code to see how the component works) but this one has beaten me. From my understanding, and the way the other controls work, this should dump the selected item values into the alerts array within my controller. I want to put as much in the JSON as I can, and only use the controller to store/submit the details if this is possible.</p> <p>The JSON below generates the dialog and my multi select form. Awesome, but for some reason when I scroll the select section off screen, my values are gone. When I submit the form, the app does not see my selected items. When I try to use "controllerAction" to store these values, the app just crashes.</p> <pre><code>{ "grouped": true, "title": "MyTitle", "controllerName": "LOrderViewController", "sections": [ { "title": "Notifications", "type": "QSelectSection", "bind": "selectedItems:alerts", "multipleAllowed": true, "items": [ "Email Alerts", "App Alerts" ], "footer": "My Footer text." } ... ] } </code></pre> <p>What am I missing? What code is required in my controller, how can I trigger that code? Am I better off scrapping QuickDialog for something that is better documented, or just stick with native methods?</p> <p>Love the concept of QuickDialog, but the same isn't holding true for me with this taking so long to learn.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload