Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

combobox and dateformat #451

Closed
bochelie1000 opened this issue Jul 26, 2017 · 6 comments
Closed

combobox and dateformat #451

bochelie1000 opened this issue Jul 26, 2017 · 6 comments
Assignees
Labels
Milestone

Comments

@bochelie1000
Copy link

When the user try to select an item from the combobox for the second time, the first item in the dropdown menu wil be the last selected item.
I included a repro in the attachment. By the way this project is still the best!!!
WpfApplication2.zip


Environment

  • Fluent.Ribbon v5.0.2.46 or earlier
  • Windows 7
  • .NET Framework 4.5
@batzen
Copy link
Member

batzen commented Jul 26, 2017

I am currently at vacation. Will have a look when i am back home.

@bochelie1000
Copy link
Author

Have a nice vacation. You deserve it. :)

@batzen
Copy link
Member

batzen commented Aug 2, 2017

Had to adjust the converter to not throw an exception because of an invalid format, but i can select dates fine.
Entering text is impossible because of the converter.

Could you try to reproduce the issue using a regular combobox? If you can reproduce it with that one it's caused by your code and is not a bug in Fluent.Ribbon. The ComboBox in Fluent.Ribbon is inherited from the default WPF ComboBox.

@batzen
Copy link
Member

batzen commented Aug 18, 2017

@bochelie1000 ping

@batzen batzen added the Waiting for user response 😕 Waiting for the reporter to respond to questions made by maintainer. label Aug 18, 2017
@bochelie1000
Copy link
Author

You are wright! The problem is within the converter. However I was doing this because the ItemStringFormat property doesnt seem to work on the fluentcombobox. I added a new repro for you to see what I mean. I have both comboboxes on the window. When I select an Item on the fluent combobox the format of the displayed Item changes. This is not the case with the standard combobox.
WpfApplication3.zip

@batzen batzen removed the Waiting for user response 😕 Waiting for the reporter to respond to questions made by maintainer. label Aug 28, 2017
@batzen batzen closed this as completed in ef605bd Aug 28, 2017
@batzen
Copy link
Member

batzen commented Aug 28, 2017

Please note that this only works if the combobox has IsEditable=False. This applies to the standard combobox and the fluent one.

@batzen batzen self-assigned this Aug 28, 2017
@batzen batzen added this to the 6.0.0 milestone Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants