Unverified Commit a8573e78 authored by ggrund-tsi's avatar ggrund-tsi Committed by GitHub
Browse files

Fix/store birthdayformat (#97)



* store birthdayformat; update personData on change

* fix openToDate
Co-authored-by: default avatarGordon Grund <gordon.grund@outlook.de>
parent b7253d1d
......@@ -274,7 +274,7 @@ export const PersonInputs = (props: any) => {
dropdownMode="select"
maxDate={new Date()}
minDate={new Date(1900, 0, 1, 12)}
openToDate={new Date(1990, 0, 1)}
openToDate={dateOfBirth ? dateOfBirth : new Date(1990, 0, 1)}
/>
</Col>
</Form.Group>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment