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.