Hi Julian,
Greetings from Syncfusion.
Query: How to hook up my Command and CommandParameter?
We would like to let you know that Input type ChipGroup itself enable the close button to its generated Chips in ChipGroup. While tapping close button, that particular chip automatically removed from view as well as in collection. If your requirement to have an individual Command support for Input type chip items then, please use the EventToCommand behaviour we can use the command as given below.
Code snippet:
In case, used ChipLayout as FlexLayout then,
<FlexLayout.Behaviors>
<local:EventToCommandBehavior EventName="ChildRemoved" Command="{Binding ClickCommand}" />
</FlexLayout.Behaviors> |
ChildRemoved even itself, you can intervene in it.
Query: Hide the close button on all SfChips when they are of type "Input"
In case of Input type, we have handled the
ShowCloseButton property in source level. Hence with it, directly we won’t change that close button visibility.
But it has been achieved by using Template support of ChipGroup. By passing the
SfChip as template view of ChipGroup then handling the ShowCloseButton property we can achieve this. But currently touch related we have faced the some complex. Hence, we have logged a feature for “Support to recognize the tap action on close button in chip group “ as feature and we have already logged a feature request on this, and it can be tracked through our feedback portal below.
Please cast your vote to make it count. We will prioritize the features every release based on the demands and we do not have immediate plan to implement this feature since we committed with already planned work. So, this feature will be available any of our upcoming release.
If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal.
I hope this information helps. If you need any further assistance, please don't hesitate to contact us.
Regards,
Hemalatha M.