Skip to content

Commit

Permalink
fix(input-number): fix input non-number show error #INFR-10053 (#2862)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggxxgxq committed Oct 25, 2023
1 parent 5293194 commit 7749771
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/input-number/input-number.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ export class ThyInputNumberComponent
this.activeValue = value;
} else {
this.displayValue = this.activeValue;
this.inputElement.nativeElement.value = this.displayValue;
}
const parseValue = this.parser(value);
const validValue = this.getCurrentValidValue(parseValue);
Expand Down

1 comment on commit 7749771

@vercel
Copy link

@vercel vercel bot commented on 7749771 Oct 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tethys – ./

tethys-vert.vercel.app
tethys-git-master-tethys.vercel.app
tethys-tethys.vercel.app

Please sign in to comment.