Hello,
I have created the select list successfully using the checkout extension.
But when I change the option it is not changing on the front. please check:- https://d.pr/v/cUTzWM
It is happing because I use the applyCartLinesChange method inside the on-change method.
@mishareyzlin ,
Thanks for the solution. its working perfectly.
Have one question, how can I find updated functions example like this.if possible can you please share documentation link to check updated examples for each component.
Hey, I’m glad to hear that the suggested fix worked for you!
At the moment, your best bet will be:
Rely on suggestions provided by Typescript as part of our API, you don’t have to choose to author your extension code in Typescript, at least VS Code will provide the auto-complete also for .js files that aren’t directly using typescript.
We are gradually improving our documentation, we have recently updated several sections of the Standard API docs (such as Storefront API access or client-side validation example and quite some more). We’ll hopefully soon cover the gap for pure JS based component API docs as well.