Open Rodolfo-XDR opened 4 years ago
When you set a spinner with typescript, it doesn't update.
You can set it at first, but when manipulating or want to reset the value on same page, it doesn't change.
Model changes the value, but doesn't visually.
EDIT ---------------
I tried, using my ngModel as string and see if I could set the number back in, but then this popped up
EDIT -----------------
I see the problem, you cannot to this:
this.spinnerValue = 0;
This will not set the spinner to 0 VISUALLY, but if you set it to another positive number you will see it.
When you set a spinner with typescript, it doesn't update.
You can set it at first, but when manipulating or want to reset the value on same page, it doesn't change.
Model changes the value, but doesn't visually.
EDIT ---------------
I tried, using my ngModel as string and see if I could set the number back in, but then this popped up
EDIT -----------------
I see the problem, you cannot to this:
this.spinnerValue = 0;
This will not set the spinner to 0 VISUALLY, but if you set it to another positive number you will see it.