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

TimePicker with TextFieldAssist.HasClearButton attached property #3119

Closed
jbooth88 opened this issue Mar 3, 2023 · 0 comments · Fixed by #3123
Closed

TimePicker with TextFieldAssist.HasClearButton attached property #3119

jbooth88 opened this issue Mar 3, 2023 · 0 comments · Fixed by #3123
Assignees
Labels
Milestone

Comments

@jbooth88
Copy link

jbooth88 commented Mar 3, 2023

Bug explanation

MaterialDesignThemes 4.7.1

Setting TextFieldAssist.HasClearButton="True" on the TimePicker control will make the clear button visible as expected, but clicking this button appears to have no effect. Expected behaviour is that the SelectedTime property will be set to null

<md:TimePicker
    xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes"
    md:HintAssist.Hint="Time"
    md:TextFieldAssist.HasClearButton="True"
    SelectedTime="{Binding TestTime, Mode=TwoWay, UpdateSourceTrigger=LostFocus, TargetNullValue=''}"
    Style="{StaticResource MaterialDesignFloatingHintTimePicker}"
    />

TestTime property is of type DateTime?

Version

4.7.1

@jbooth88 jbooth88 added bug evaluation required Items is pending review or evaluation by the team labels Mar 3, 2023
@nicolaihenriksen nicolaihenriksen removed the evaluation required Items is pending review or evaluation by the team label Mar 6, 2023
@nicolaihenriksen nicolaihenriksen self-assigned this Mar 6, 2023
@Keboo Keboo added this to the 4.9.0 milestone Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants