Hi,
I'm tryingt to make a color selection with the SfChipGroup control.
However whenever I set a ItemTemplate, the selection of the item only works if I click on the Border.
Clicking the item itsefl does not lead to select the item eventually.
<buttons:SfChipGroup
SelectedItem="{Binding SelectedColorChip, Mode=TwoWay}"
Type="Choice"
ChoiceMode="SingleOrNone"
ChipBorderWidth="1"
ItemsSource="{Binding DefaultColors}"
ChipBackgroundColor="{DynamicResource Gray-100}"
SelectedChipBackgroundColor="{DynamicResource PrimaryColor}"
>
<buttons:SfChipGroup.ItemTemplate>
<DataTemplate>
<StackLayout>
<buttons:SfChip
Text="{Binding Name}"
BackgroundColor="{Binding ChipColor}"
/>
</StackLayout>
</DataTemplate>
</buttons:SfChipGroup.ItemTemplate>
<!---->
<buttons:SfChipGroup.ChipLayout>
<FlexLayout
HorizontalOptions="Start"
VerticalOptions="Center"
Direction="Row"
Wrap="Wrap"
JustifyContent="Start"
AlignContent="Start"
AlignItems="Start"/>
</buttons:SfChipGroup.ChipLayout>
</buttons:SfChipGroup>
Is there anything I'm doing wrong?
Whenever I remove the ItemTemplate the selection works fine for the items.