Setting ChipEventArgs.Cancel is ignored

Hello,

topic: deletable chips.
problem: delete will be performed although ChipEventArgs.Cancel is set to true in the event for this (ChipEvents.OnDelete).
version: 18.4.31
docu for OnDelete: This delete event will get triggered before removing the chip.
docu for ChipEventArgs.Cancel: It denotes whether the item can be deleted or not.

example:
<SfChip EnableDelete="true">
<ChipItems>
<ChipItem Text="Delete?"></ChipItem>
</ChipItems>
<ChipEvents OnDelete="(args) => args.Cancel = true"></ChipEvents>
</SfChip>
Can anyone help me? Thank you.
Axel.

3 Replies 1 reply marked as answer

IL Indhumathy Loganathan Syncfusion Team December 31, 2020 07:00 AM UTC

Hi Axel, 
 
We were able to replicate your reported problem. So, we have considered this as bug from our side. We will include the fix for this issue in Volume 4 SP 1 release which is expected to be roll out by the end of January 2021.  

You can track the status of your reported problem through the below portal link, 
 
 
We appreciate your patience. 
 
Regards, 
Indhumathy L 


Marked as answer

AX axl December 31, 2020 07:44 AM UTC

Thank you for this information. Axel.


SP Sowmiya Padmanaban Syncfusion Team January 4, 2021 04:47 AM UTC

Hi Axel,  
 
Thanks for the update. 
 
We'll update you the fix details once the release is rolled out. 
 
We appreciate your patience. 
 
Regards,  
Sowmiya.P 


Loader.
Up arrow icon