Make all optional fields valid by default


- The model property can be required or optional. If the property is
required, then the validity of the property affects the model validity.
If it is not required, then it doesn't affect the model state.
All required model properties are now NOT valid and NOT set by default.
All optional model properties are now valid and NOT set by default.

Task-number: QTBUG-145231
Pick-to: 6.11
Change-Id: I59ca0f8445917601039de3e70e888d2f1047c430
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commite85e3780127ee9d3e41d281dff2063d21ce96ccd
parent8353659582572e9efc76845a6ccf14d4d6651db8
authorTatiana Borisova <tatiana.borisova@qt.io>
committerTatiana Borisova <tatiana.borisova@qt.io>
commit timeSat, 25 Apr 2026 19:35:59 +0000