fix: method name

This commit is contained in:
Christy Jacob
2023-01-16 19:52:23 +05:30
parent fc79543161
commit 8a11fb16d4
+2 -2
View File
@@ -38,7 +38,7 @@
error = element.validationMessage;
};
const handleOnInput = () => {
const handleInput = () => {
if (value === '') {
value = null;
}
@@ -62,7 +62,7 @@
type="url"
autocomplete={autocomplete ? 'on' : 'off'}
bind:value
on:input={handleOnInput}
on:input={handleInput}
bind:this={element}
on:invalid={handleInvalid} />
</div>