File tree 1 file changed +4
-4
lines changed
packages/svelte-tel-input
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,12 @@ _Snippet would be too long_ - [Example](https://github.com/gyurielf/svelte-tel-i
63
63
name="Country"
64
64
bind:value={selectedCountry}
65
65
>
66
- <option value={null} hidden={country !== null}>Please select</option>
66
+ <option value={null} hidden={selectedCountry !== null}>Please select</option>
67
67
{#each normalizedCountries as currentCountry (currentCountry.id)}
68
68
<option
69
69
value={currentCountry.iso2}
70
- selected={currentCountry.iso2 === country }
71
- aria-selected={currentCountry.iso2 === country }
70
+ selected={currentCountry.iso2 === selectedCountry }
71
+ aria-selected={currentCountry.iso2 === selectedCountry }
72
72
>
73
73
{currentCountry.iso2} (+{currentCountry.dialCode})
74
74
</option>
@@ -79,7 +79,7 @@ _Snippet would be too long_ - [Example](https://github.com/gyurielf/svelte-tel-i
79
79
bind:value
80
80
bind:valid
81
81
bind:detailedValue
82
- class="basic-tel-input {!isValid ? 'invalid' : ''}"
82
+ class="basic-tel-input {!valid ? 'invalid' : ''}"
83
83
/>
84
84
</div>
85
85
You can’t perform that action at this time.
0 commit comments