JoergHoffmannatGitHub / Family.Show

Fork of the FamilyShow project from CodePlex. This is a genealogy application.
Microsoft Public License
3 stars 1 forks source link

Insert date is not possible #3

Open JoergHoffmannatGitHub opened 7 months ago

JoergHoffmannatGitHub commented 7 months ago

Describe the bug Inserting a date with keyboard (number by number) is not possible.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Edit Details'
  2. Click on 'Date of Birth' - any Textbox with a date will do
  3. start typing
  4. after typing the first number the date changes to 01.01.0001

Expected behavior A date typing number by number shall be possible.

Screenshots DateOfDeath

Desktop (please complete the following information):

JoergHoffmannatGitHub commented 7 months ago

The behavior is like in version V4.5 and has nothing to do with porting to .Net 8 and VS 2022. The label backlog is added.

deantpage commented 4 months ago

I just changed the bindings to use UpdateSourceTrigger=LostFocus wherever the DateFormattingConverter is used. The DateFormattingConverter code needs a re-write but this change allows me to actually enter dates for now.

JoergHoffmannatGitHub commented 4 months ago

Works like a charm. I will test it further.