[Vuejs]-How to update data in input after loading data from onSSR?

0👍

onSSR(async () => {
      await load();
      await loadCountries();
      if (shipping.value !== undefined) {
        form.firstName = shipping.value.firstName;
      }
    });

You missed the reactivity by vue, there was a missing .value in the shipping variable.

Leave a comment