Hello,
Am using the vue version of metronic 8 and would like to have step validation done when user clicks next instead of showing errors by default,
How can I achieve this
Hi George,
Could you please specify which version are you using?
Hi Lauris
Am using Metronic 8.1.1
It is an error, inside handleStep function before all logic you need to call resetForm function as shown below.
const handleStep = handleSubmit((values) => {
resetForm({
values: {
...formData.value,
},
});
....
}
That works thank you.