mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-19 06:21:15 +00:00
fix: error overwrite
This commit is contained in:
parent
865d1e2719
commit
80b9d1ca7c
1 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,12 @@
|
|||
export let error: string = '';
|
||||
$: error = valid ? '' : 'Zadejte platný telefon s předvolbou. Například +420 123 456 789';
|
||||
|
||||
$: {
|
||||
if (!error) {
|
||||
error = valid ? '' : 'Zadejte platný telefon s předvolbou. Například +420 123 456 789';
|
||||
}
|
||||
}
|
||||
|
||||
// Optional - Extended details about the parsed phone number
|
||||
let parsedTelInput: NormalizedTelNumber | null = null;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue