Skip to content

Commit d0b1930

Browse files
committed
fix(input): check if there is a value when setting value
1 parent 149d8dc commit d0b1930

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/input/input-base.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ export class InputBase {
142142

143143
set value(val) {
144144
this._value = val;
145+
this.checkHasValue(val);
145146
}
146147

147148
@Input()

0 commit comments

Comments
 (0)