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

Latest Update Breaks ComboBox #656

Open
bhh32 opened this issue Oct 21, 2024 · 0 comments
Open

Latest Update Breaks ComboBox #656

bhh32 opened this issue Oct 21, 2024 · 0 comments

Comments

@bhh32
Copy link

bhh32 commented Oct 21, 2024

Issue

It looks like the latest update breaks the combo_box (ComboBox) widget.

Compiler Error

compiler_error

Code Snippets

When I try to use what the compiler is telling me to use, cosmic::Theme, I get an error when creating the combo_box (I've tried ComboBox::new() and the combo_box() function) because it's expecting cosmic::iced::Theme.

cosmic_Theme_combo_box

However, when I switch it to cosmic::iced::Theme it allows me to create the combo_box (using both ComboBox::new() and the combo_box() function), but I get the compiler error above. This is what the code looks like:

cosmic_iced_theme_combo_box

Here is the code with cosmic::iced::Theme without the blocking error messages:

combo_box_error_no_code_block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant