Page 1 of 1

DataTemplate-able, Non-Nativ ComboBox unexpected behaviour

Posted: Sat Sep 17, 2016 9:10 am
by Sesztak
Dear JS-Support,

We have found an unexpected behaviour of DataTemplate-able, Non-Nativ ComboBox unexpected behaviour:

When is working:
if you put non user editable UI object (like TextBlock): ok.

When is NOT working:
if you put user editable UI object (like TextBox, CheckBox ): you can not edit the values of these.

Sample code:
<ComboBox UseNativeComboBox="False" x:Name="comboBox1">
<ComboBox.ItemTemplate>
<DataTemplate>
<StackPanel >
<TextBlock Text="Text 1"/>
<CheckBox Content="Checkbox -user can edit"/>
<TextBox Text="something what user can edit"/>
</StackPanel>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>

(C# code behind: comboBox1.ItemsSource = someCollectionObject;)

When the user try to edit / change the values of checkbox or textbox: the ComboBox 'jumped-out' , I means closed immediately and the user changed state missing.

Please, confirm, that you can reproduce the bug in the same way.

Waiting for your kind reply,
Best Regards,

Péter
P.S: if somebody try to make a DataTemple with UseNativeComboBox="True", should be an expected thoughtfulness to give an error message in the output window and/or HTML/JS compilation log :)

Re: DataTemplate-able, Non-Nativ ComboBox unexpected behaviour

Posted: Sun Sep 18, 2016 1:14 am
by JS-Support @Userware
Dear Péter,

Thanks a lot for the report.

We have been able to reproduce the issue.

The fix is expected to be available in Beta 9.4 (note: Beta 9.3 will be released in a few hours).

Regards,
JS-Support

Re: DataTemplate-able, Non-Nativ ComboBox unexpected behaviour

Posted: Sun Sep 18, 2016 1:31 am
by Sesztak
great ! waiting for 9.3 new features & fixes !! have nice day ! Péter