We have created a custom form under a custom shipping method.In that custom form,we have input text fields and select dropdown fields.
for posting these values while clicking place order,i have created extension attributes for it.this is working if i enter the details and select other shipping method but not when i first select and then enter the details and click place order button
I have checked in console and this rest api call rest/default/V1/carts/mine/shipping-information is being made whenever a shipping method selection is changed.
So i need to provide a update button below my custom form so that if i click on that the same rest method will call and so that my values will be posted to observer and in that observer i am saving the details to order tables
Can anyone guide me here in solving the above issue