Sometimes we end up adding validations (required / regex etc) for UI elements once bad data is already in the system.
Since there is an option to disable form on Form errors, it works well while filling the form afresh. But when loading with existing data, lot of these validations are not evaluated (or not kicking in) and hence not highlighted. This leads to Submit button being enabled even when its not supposed to be. However, as called out earlier, while filling an empty form it works as expected.
Let’s say we have an array field. And each element is some object. Certain fields in the object have some validations. Even when array is empty, the validations kick in and disable Submit button. And since there is no array element it is not highlight which field is causing the error
Please let me know if any other details are needed