I'm testing the provided sample widget in the shipped csui-sdk-16.0.3 zip file.
- first of all, I'm confused with the sample code listed in the "csui-sdk-16.0.3\samples" vs."csui-sdk-16.0.3\lib\src\csui". The sample-index.html page seems refer to the code listed in the 2nd directory. So not sure the purpose of the first one.
- I was testing the code in the 2nd directory"csui-sdk-16.0.3\lib\src\csui\widgets\search.custom", was able to change the connection, disable the mock, and load with real saved search query on the testing page; however, when click "search" button, it does nothing. The console indicates an error "Uncaught TypeError: Cannot read property 'map' of undefined at alpcsuiselectfield.js line35". I really have no clue how to correct this.
- 3rd, I tired to understand the difference between this custom widget vs. the core "Custom Vew Search" widget. it looks the same to me when loading the search prompt page, and the core widget works well while this provided sample code is broken at the moment. Can you explain the difference and purpose?
Thanks
Lili