form provider

This commit is contained in:
Jan Prochazka
2021-03-04 10:56:58 +01:00
parent 593e61abb9
commit 7acea0f4ac
7 changed files with 98 additions and 11 deletions

View File

@@ -8,7 +8,7 @@
export let value;
function handleClick() {
if (disabled) dispatch('click');
if (!disabled) dispatch('click');
}
</script>