setValueStyleClass has no visual effect
Trying to change progress bar progress color based on progress value.
But i see it has no immediate effect. It requires page refresh.
Is it supposed to be like this or I am doing something wrong?
Please see below :
auto style = VELOCITY_MODEL.Overrange() ? "progress bg-danger-Polytec" : "progress bg-info-polytec";