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

Floating hint in default ComboBox style #129

Open
Tenjim opened this issue Dec 8, 2021 · 7 comments
Open

Floating hint in default ComboBox style #129

Tenjim opened this issue Dec 8, 2021 · 7 comments
Labels
enhancement New feature or request

Comments

@Tenjim
Copy link

Tenjim commented Dec 8, 2021

Hi guys,

I wanna to know if you have this behavior referenced on Material Design :
Exposed DropDown Menu

On WPF, I'm using Hint with ComboBox and I have this behavior with different menu status.

Do you have any implementations/workarounds about it ?

Thank in advance.

@SKProCH
Copy link
Collaborator

SKProCH commented Dec 8, 2021

Hello, @Tenjim

I think what this is what you need: #101 (comment)
Does this solve your problem?

@SKProCH SKProCH added question Further information is requested waiting for feedback labels Dec 8, 2021
@Tenjim
Copy link
Author

Tenjim commented Dec 8, 2021

Hi @SKProCH ,

Not really. I want to have hint when I don't have any value in the combobox and the behavior that replace hint by combox value selected and finaly put hint above.

Like this :

ComboBoxHint

It's the same behavior in your demo do with TextBox and TextFieldAssist.

@SKProCH
Copy link
Collaborator

SKProCH commented Dec 9, 2021

Hmm, @Tenjim

You can use PlaceholderText or ComboBoxAssist.Label to set hint what will look like this:
Animation

Is that one what you needed?

@Whiletru3
Copy link

Hi @SKProCH

The ComboBoxAssist is not working in the ComboBox without class.

<ComboBox assist:ComboBoxAssist.Label="ComboBox"> <TextBlock Text="Item 1" /> <TextBlock Text="Item 2" /> <TextBlock Text="Item 3" /> <TextBlock Text="Item 4" /> </ComboBox>

Here is what i expect (in wpf material design) :
image

Is there an easy way to have this ?
Thanks :)

@SKProCH SKProCH changed the title ComboBox DropDown Behavior Floating hint in default ComboBox style Dec 10, 2021
@SKProCH SKProCH added enhancement New feature or request and removed question Further information is requested waiting for feedback labels Dec 10, 2021
@SKProCH
Copy link
Collaborator

SKProCH commented Dec 10, 2021

Seems like this currently not available.
You can use Outline ComboBox style or wait untill i or @appleneko2001 impletent floating hint in regular ComboBoxes. But we don't have much time right now because of work.

@Stensan
Copy link

Stensan commented Oct 16, 2023

Hi, any update on this? We are just starting with Avalonia and need a filled ComboBox with a floating label.

@SKProCH
Copy link
Collaborator

SKProCH commented Oct 16, 2023

Hello, @Stensan. Currently - no yet. I've trying to find time to finish TextBoxes rework, and after that I hope what i can quickly do ComboBoxes rework.

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

No branches or pull requests

4 participants