The updateBackingDateInput function sets the date only when the date is valid. Because of this in a form when a date is updated and invalid date is inputed by user, an error is not thrown since the bootstrap would still give the valid old date because of this condition.
We should be setting whaterver the converted value is coming instead of setting the value only when valid date is available. The current behavior causes issues like this.
The updateBackingDateInput function sets the date only when the date is valid. Because of this in a form when a date is updated and invalid date is inputed by user, an error is not thrown since the bootstrap would still give the valid old date because of this condition.
We should be setting whaterver the converted value is coming instead of setting the value only when valid date is available. The current behavior causes issues like this.