DataTemplate-able, Non-Nativ ComboBox unexpected behaviour

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
Sesztak
Posts: 172
Joined: Fri Jun 24, 2016 2:19 am

DataTemplate-able, Non-Nativ ComboBox unexpected behaviour

Postby Sesztak » Sat Sep 17, 2016 9:10 am

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 :)

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

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

Postby JS-Support @Userware » Sun Sep 18, 2016 1:14 am

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

Sesztak
Posts: 172
Joined: Fri Jun 24, 2016 2:19 am

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

Postby Sesztak » Sun Sep 18, 2016 1:31 am

great ! waiting for 9.3 new features & fixes !! have nice day ! Péter


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 18 guests

 

 

cron