bind:value={$formData.title}
bind:value={$formData.url}
For some reason, are mutating the original
const formDefaults = {
icon: 'custom',
title: '',
url: 'https://'
};
this is an undesired behavior since
formData.set(formDefaults);
is setting the values to the previous once, hence the form is not being resetted.
What is going on?