Skip to content

Commit

Permalink
πŸ› fix: russian numbers showing kazakh flags ( shared country code )
Browse files Browse the repository at this point in the history
  • Loading branch information
rezk2ll committed May 28, 2024
1 parent 3f9af29 commit e99c92c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions registration/src/lib/components/input/TelField.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import { t } from 'svelte-i18n';
import Spin from '$components/icons/SpinnerIcon.svelte';
import { isPhoneValid } from '$utils/phone';
import { defaultCountries } from '$utils/country'
export let value: string | null = '';
export let selectedCountry: string | null;
Expand Down Expand Up @@ -31,6 +32,7 @@
on:input={onInput}
on:change={onChange}
defaultCountry={selectedCountry}
countries={defaultCountries}
inputClassName="!rounded-[4px] !focus:outline-none !text-[17px] !font-medium !leading-6 !tracking-tight !text-left !peer !w-full !placeholder:text-inputOutline !border-none"
/>
{#if loading}
Expand Down

0 comments on commit e99c92c

Please sign in to comment.