Change object in edit form
Hi everyone,
i have a endpoint
Here is my useSelect hook
Here is an
Here is a
i have a endpoint
offers in which i have a field ski_resort. I have an other endpoint ski_resorts which return all the ski resort available. I display the all the ski resort in edit offer form with the useSelect() hook. I would like to change all the field ski_resort in the obejct with with ski_resorts endpoint response. How can I do that ? Here is my useSelect hook
Here is an
Offer objectHere is a
ski_resort object return by the ski_resorts endpoint