File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ export class NumberChange {
62
62
<input
63
63
type="number"
64
64
[id]="id"
65
- [attr. value]="value"
65
+ [value]="value"
66
66
[attr.min]="min"
67
67
[attr.max]="max"
68
68
[attr.step]="step"
@@ -71,7 +71,7 @@ export class NumberChange {
71
71
[attr.aria-label]="ariaLabel"
72
72
[attr.data-invalid]="invalid ? invalid : null"
73
73
[placeholder]="placeholder"
74
- (input )="onNumberInputChange($event)"/>
74
+ (change )="onNumberInputChange($event)"/>
75
75
<svg
76
76
*ngIf="!skeleton && !warn && invalid"
77
77
cdsIcon="warning--filled"
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ const Template: Story<NumberComponent> = (args) => ({
23
23
[min]="min"
24
24
[max]="max"
25
25
[step]="step"
26
- [precision]="precision"
27
26
[invalid]="invalid"
28
27
[invalidText]="invalidText"
29
28
[warn]="warn"
@@ -42,7 +41,6 @@ Basic.args = {
42
41
min : 0 ,
43
42
max : 100 ,
44
43
step : 1 ,
45
- precision : 0 ,
46
44
invalid : false ,
47
45
disabled : false
48
46
} ;
You can’t perform that action at this time.
0 commit comments