After a field is shown, it is immediately showing required error