Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Dec 19, 2024
1 parent 761d14a commit c6bd2db
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
TuiAutoFocus,
tuiAutoFocusOptionsProvider,
} from '@taiga-ui/cdk/directives/auto-focus';
import {tuiFallbackValueProvider} from '@taiga-ui/cdk/tokens';
import {TUI_IS_IOS, tuiFallbackValueProvider} from '@taiga-ui/cdk/tokens';
import {tuiInjectElement, tuiIsInputEvent} from '@taiga-ui/cdk/utils/dom';
import {tuiDirectiveBinding} from '@taiga-ui/cdk/utils/miscellaneous';
import {TuiButton} from '@taiga-ui/core/components/button';
Expand Down Expand Up @@ -96,7 +96,7 @@ const NOT_FORM_CONTROL_SYMBOLS = /[^+\d]/g;
host: {
type: 'tel',
'[attr.readonly]': 'readOnly() || null',
'[attr.inputmode]': 'open() ? "none" : null',
'[attr.inputmode]': '!ios && open() ? "none" : null',
'[disabled]': 'disabled()',
'[value]': 'masked()',
'(blur)': 'onTouched()',
Expand All @@ -110,6 +110,7 @@ export class TuiInputPhoneInternational extends TuiControl<string> {
protected readonly list: QueryList<ElementRef<HTMLButtonElement>> = EMPTY_QUERY;

protected readonly el = tuiInjectElement<HTMLInputElement>();
protected readonly ios = inject(TUI_IS_IOS);
protected readonly icons = inject(TUI_COMMON_ICONS);
protected readonly options = inject(TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS);
protected readonly countries = signal(this.options.countries);
Expand Down

0 comments on commit c6bd2db

Please sign in to comment.