-
Notifications
You must be signed in to change notification settings - Fork 6
The ranger is not updated when min-max is changed outside html template #2
Comments
Hum... do you have a plunker demo somewhere ? |
Thank you for your reply. I am sorry but it will be very hard to create plunker out of it since it is already been used pretty deep in code and I am unable to run application outside work environment either. I can of course explain as much as you need and I really appreciate you are considering it. So basically, when we create slider components on the fly, all works well and fine. Lets say some resources used by an event and those slider represent time slots chosen by user. Basically there is a global min and max for all those resources and whenever user changes those global values, the resources min and max are supposed to be changed as well. Lets assume, global min is 500 and global max is 560. All resources within these global environment will have value within range. Lets assume three resources a, b and c which have random global min and max values (of course within global limit). Whenever I change those global max value, the resource slider thumbs move accordingly but range value stays same as old one (not updated). Basically as it looks like, some changes are reflected into those resource sliders but not all of those. Please note that everything works perfectly well if those child resources min and max is reset to global. I will try to create snapshot pictures of those tomorrow to you if you would like to take a look? Otherwise, I will try to create a plunkr as well to recreate that problem. Thank you again for your time. |
As I promised to share some pictures with you. Those are above. These shows both correct and incorrect scenarios. The first three images are correct scenario where changing the global time (slider with gray head) reflects changes correctly inside other sliders. The last three images belong to situation where slider range is printed incorrectly. You can see that heads are in correct position though. Only, range value is not updated. I appreciate your time regarding my request. Thanks! |
Alright that's a very good feed back @afaqi ! |
Good to know. it would be nice to hear if there is something I can do to workaround this :) |
Slider works fine if values are set statically and even internal event handling seems to functioning nicely. If I set the slider values using javascript (open some dialog box for editing) where sliders values are loaded from edit data. Once, new values for min-max are given from UI. It does update the slider thumbs but range stays same as old.
The text was updated successfully, but these errors were encountered: