Question:
i have called a function from backend and i set the data which i received to properties in the widget , but when i call properties inside the panels, the value set to the properties is coming as undefined
Product:
Wix Blocks
What are you trying to achieve:
I am trying to build a custom pricing app , i am trying to fetch all public plans details using function listPublicPlans( ) from wix-pricing-plans-backend.i have created a backend function for it and i am able to fetch the data and set the data to props,
then i am trying to take the props data and populate the panel checkbox group element
where users can select their plans, the selected plans will be seen in the widget , the widget contains a repeater which will display only the selected plans in panels.
What have you already tried:
i have tried setting a default value to properties in the widget . but when i try to fetch the props value inside the panel, its show its value as undefined.
i also tried calling listPublicPlans( ) directly inside panels , but i am not able to fetch the data.