Closed ianliuwk1019 closed 8 months ago
@ianliuwk1019 - this seems OK, except that the first time I select an end date equal to the start date, the error message briefly flashes then disappears.
Hi @gormless87 - thank you for verifying. Since main function is good, I will create a ticket for the minor initial date-pick slashing seen issue for this separately.
Describe the Bug There is a bug on showing validation error message on "End of Operations" year . When adding a new FOM, picking a year from "End of Operations" field with the same year as "Start of Operations" field should not show message: "Must be equal to or later than the Start of Operations".
However, if user starts using date-Picker on "Start of Operations", the error message shows correctly:
Switching "Start of Operations" back to 2024 and "End of Operations" back to 2024, it behaviors correctly.
Expected Behaviour The error message should only be shown when "End of Operations" year < "Start of Operations" year.
Steps To Reproduce
Additional context