DatePicker.SelectedDate not changing when Text is input

前端 未结 5 762
无人共我
无人共我 2020-12-16 14:23

When my users select a date via the Calander control within the DatePicker, the value gets correctly bound to the underlying object. BUT, if the user types the date within t

5条回答
  •  醉酒成梦
    2020-12-16 15:18

    The only solution that I could find is to disable entering of the date in the DatePicker by setting Focusable="False" and only allowing selection from the calendar. This way we can at least make sure that we get the correct date.

提交回复
热议问题