Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Issue with Select Box in Custom SDK Component

$
0
0

Hello

 

I’m having an issue with a select box based custom component.  The code creates a select element, adds some options to it and attaches a change listener to it. Inside the change listener I set the value of some properties based on the user’s selection and call the firePropertiesChanged and fireEvent functions.  The issue I have is that after calling the firePropertiesChanged function the selected option of my select is set back to the first one.  So if I select option 3 for example that option doesn’t stay selected after the firePropertiesChanged function is called. If I comment out the call to firePropertiesChanged then the option I select stays selected. I’m at a loss as to what is causing this or how to fix it.

 

I’ve created a sample component that illustrates the issue, you can see it here: https://github.com/cpdjh02/SDKSelectIssue/tree/master/com.test.issue

 

 

Thanks

David


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>