Dependency updates and convert npub to hex on paste
Some checks failed
/ check-changes (push) Successful in 16s
/ build (push) Has been cancelled

This commit is contained in:
Djuri 2024-12-26 01:09:35 +01:00
parent 924be8fc2e
commit cc538cf643
4 changed files with 84 additions and 74 deletions

View file

@ -25,6 +25,11 @@
export let invalid: boolean | undefined = undefined;
export let minlength: string | undefined = undefined;
export let onChange: (() => void) | undefined = undefined;
export let onInput: (() => void) | undefined = undefined;
const onInputHandler = () => {
onInput?.();
};
</script>
<Row>
@ -45,6 +50,8 @@
{minlength}
bsSize={size}
on:change={onChange}
on:input={onInputHandler}
spellcheck={type === 'text' ? 'false' : undefined}
/>
{#if suffix}
<InputGroupText>{suffix}</InputGroupText>