I have two buttons in a page title component. On clicking one of the buttons,the color of the button changes and some fields are updated. This is handled through a script. At any point of time only one button will be highlighted. In my script, I am fetching the component and the buttons. skuid.component.getById(‘xxxxxxx’) and then the buttons using skuid.component.getById(‘xxxxxxx’).element.buttons This works fine in version 7.36.1 and there are two button elements returned
But in the latest release, 8.11, this breaks. The buttons array has no elements. I really am not sure if this is a good way to fetch the buttons in the script. Or rather any component. Please suggest.
Question
How to fetch the buttons of page title component in script?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.