Hi, I have a table with 3 cells: Valid from, Valid to and Paysum cells.
For dates I use sap.ui.commons.DatePicker()
My requirement is to validate and show the user where in the table (which cells) have dates with incorrect format or are not filled.
The validation process is easy and I can set the valuestate for the incorrect date cell.
The problem is that when I add/remove a table row dynamically (on a button press) then the incorrect date value disappears..leaving the cell empty, but red.
How can I make sapui5 table cell to NOT remove the incorrect value? This is probably got something to do with ui5 not binding the incorrect value to the data model, but I need to get around this, because otherwise there is no way to tell the user where the problem occurred or which cell needs hes attention.
ALSO: If the field had previously a correct value and user changes the value to an incorrect one, then validation marks the cell as red, but after a new row was added or deleted, the cell changes back to the previous correct value.
I need for the value to stay incorrect until the user changes it!