[Vuejs]-Multistep form preventing first page of clearing the inputs

0👍

Just use the <KeepAlive> component so that dynamic components are not unmounted.

<template>
  <KeepAlive>
    <component :is="currentStep" />
  </KeepAlive>
</template>

Leave a comment