Skip to content

Commit

Permalink
fix(kit): correct update model for tui-input-date-multi (#7080)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Mar 28, 2024
1 parent 6da0b4b commit 49e6944
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ export class TuiInputDateMultiComponent
@Input()
inputHidden = false;

@Input()
@HostBinding('class._editable')
editable = true;

@Input()
search: string | null = '';

Expand Down Expand Up @@ -203,7 +199,7 @@ export class TuiInputDateMultiComponent
}

get nativeDropdownMode(): boolean {
return this.isMobile && !this.editable;
return this.isMobile;
}

get computedMin(): TuiDay {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class="t-input"
[disabled]="disabled"
[disabledItemHandler]="disabledItemHandler | tuiMapper: disabledItemHandlerWrapper"
[editable]="editable"
[editable]="false"
[expandable]="expandable"
[inputHidden]="inputHidden"
[maskito]="maskitoOptions"
Expand Down

0 comments on commit 49e6944

Please sign in to comment.