BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
Hi,
I'm using the allowSnapping option and it works well. But when I fire changed event, I can't get the snapped value.
In fact, it seems that cahnged event isn't fired when the snap occurs.
Is there a way to get the snapped values ?
Thanks
Hi Julien,
Greetings from Syncfusion.
We can get the snapped values by using the start and end argument in the changed event of the Range Navigator component. However, we have created a simple angular application to demonstrate the same. Please find the below link for your sample reference.
Sample link: https://stackblitz.com/edit/angular-1mh2ko?file=app.component.html
Kindly, revert us if you have any concerns.
Regards,
Swetha
Hi Swetha,
Thanks for your answer. I tested it but without success
By holding the left click, I can place the cursor between two step. In this example, I move the mouse to the 28 Jan 22, 15:45:30
When I release the mouse, with the snapping option, the end of the range selector is automatically place on 28 Jan 22, 16:00:00
Here, everything is ok.
BUT, when I log the selected values in the console :
{cancel: false, start: Fri Jan 28 2022 13:00:00 GMT+0100 (heure normale d’Europe centrale), end: Fri Jan 28 2022 15:45:30 GMT+0100 (heure normale d’Europe centrale), name: 'changed', selectedData: Array(6), …}
Because the changed event is never cast after the end value is moved, I cannot get the snapped value.
Any idea ?
Thanks
Hi Julien,
We have considered this as bug and logged a defect report. This fix will be available in our upcoming weekly patch release which is scheduled to be rolled out on 17th May 2022. We appreciate your patience until then. You can keep track of the bug from the below feedback link.
Feedback Link : https://www.syncfusion.com/feedback/34618/changed-event-start-and-end-argument-is-not-proper-when-allowsnap-is-true
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.
Regards,
Sridevi Bharathi.
Thanks a lot.
I'll wait for your patch.
Hi Julien,
Most Welcome! We will let you know once the weekly patch is released. Kindly, revert us if you have any concerns.
Regards,
Swetha
Hi Julien,
We have included the fix for the reported issue in our weekly patch release(v20.1.0.56). ). Please update “ej2-angular-charts” package to the latest version to resolve the reported issue.
Replace the above package to resolve the reported issue. Kindly, revert us if you have any concerns.
Regards,
Swetha
Hello Swetha,
It works, thanks a lot !
Regards
Julien
Hi Julien,
Most Welcome! Please get back to us if you have any concerns.
Regards,
Swetha