Can not configure Drawer in API v2 (Spark 12.0.6)

  • 1
  • Question
  • Updated 3 months ago
  • In Progress
The error occurs when I click on the button to configure Drawer in API v2 (Spark 12.0.6).

Please help to resolve.


Uncaught TypeError: Cannot read property 'onSelect' of undefined
    at h.select (/resource/1551062192000/skuid__next/js/builderReqs.js:2)
    at y (skuidBuilders.js:1)
    at Object.customAction (skuidBuilders.js:1)
    at HTMLButtonElement.eval (/resource/1551062192000/skuid__next/js/builderReqs.js:2)
    at HTMLButtonElement.dispatch (skuidReqs.js:1)
    at HTMLButtonElement._.handle (skuidReqs.js:1)





Photo of Kevin

Kevin

  • 762 Points 500 badge 2x thumb

Posted 4 months ago

  • 1
Photo of Luzie Baumgart

Luzie Baumgart, Official Rep

  • 2,726 Points 2k badge 2x thumb
Hi Kevin, thank you for reporting the issue, I'm looking into this right now.
Photo of Luzie Baumgart

Luzie Baumgart, Official Rep

  • 2,726 Points 2k badge 2x thumb
I could reproduce the issue partially, still looking for all possible scenarios. For now, please try the following and let me know if that works for you:

1. Place a new table
2. Enable Drawers in Table properties -> Display -> Drawers


3. SAVE the page
4. add the row action to Open/Close drawer
5. Configure drawer
Photo of Kevin

Kevin

  • 762 Points 500 badge 2x thumb
Hi Luzie,

I followed your steps and it worked. But I think the Drawer should be enabled by default.
Could you fix it in next release?

Thanks.