igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

Update on blur does not work on slider component

Open wnvko opened this issue 1 year ago • 0 comments

Description

I have a slider component bound to a variable via ngModel. I am trying to update the variable on blur via ngModelOptions.

  • igniteui-angular version: ~17.1.0
  • browser: all

Steps to reproduce

Use code like this:

<igx-slider [(ngModel)]="sliderValue" class="slider" [ngModelOptions]="{updateOn: 'blur'}"></igx-slider>
<p>Slider value is: {{sliderValue}}</p>

Result

Bound variable is updated all the time.

Expected result

Bound variable should be updated on blur.

wnvko avatar Apr 22 '24 08:04 wnvko