relativeTo-Validation in object-definition fails in this case

Description

Having a form validation with two date fields fails in this case.

Object Definition:
{{property name="datefrom" type="date" dbtype="datetime" relativeToField="dateto" relativeOperator="lte" required="true";
property name="dateto" type="date" dbtype="datetime" relativeToField="datefrom" relativeOperator="gte";}}

Expection:
When setting a value in the datefrom field, getting to the next field and entering a date the date should be after the from value

Current behaviour:
After entering a datefrom value and then selecting a dateto value, the datefrom value is gone and the error message "Required field" occurs. It's not possible to enter a datefrom anymore.
I'm not able to fill out the records successfully.

Environment

None

Assignee

Unassigned

Reporter

Michael Hnat

Labels

None

Accepted

Yes

Fix versions

Affects versions

Priority

Medium
Configure