Hi,
I want to update Select stage data every time based on select journey with call of API like when you select state after based on state ,city data comes
Can you provide some demo for html,js with API call
Thanks
Hi,
I want to update Select stage data every time based on select journey with call of API like when you select state after based on state ,city data comes
Can you provide some demo for html,js with API call
Thanks
Hello,
Thank you for sharing these images. Unfortunately, there is no straightforward option to create such dependent dropdowns within the question's adorder actions bar. Please consider creating custom properties for your custom CSAT component.
You can configure the dependOn
setting of a custom property and update the property list when another property receives a value. For more information and code example, please refer to the dependsOn
tutorial: dependsOn. You can also find a runnable demo on our website: Property Dependencies. To get a plain HTML code example, activate the Plunker dropdown and click Knockout:
Should you have any further questions, please feel free to reach out to us.
Muaath,
You wish to update data within another action bar based on value within the other action bar. I'm afraid it would be difficult to handle such a task with the current API. Do you consider using dependent properties?
Hi Muaath,
Thank you for the update. Actions which appear at the bottom of a question within a design surface are designed to act like 'quick actions' allowing users to perform some operation right withing the design area. From what I gather (taking into account your previous tickets), you wish to create two dropdowns which would act like dependent lists: a user selects a value within the parent dropdown and thus filters out a list of options within the second dropdown. When a user selects options within these dropdowns, you wish to set corresponding values as question properties. This usage scenario should be handled using question properties. Please refer to the demo I shared earlier: View Demo.
It shows how to create a Region and Country survey properties and put them in a custom 'Geo Location' property grid category. When a user selects a Region, a list of Countries is filtered out. Both Region and Country property values are saved within a survey JSON definition.
If you wish to allow users access custom settings in one place, consider placing custom settings in a custom property grid category like its done in the above demo.
I hope that you may consider this option. Please review the demo and try this approach. Should you have any further questions, I'm here to help.