You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v2.6: Set up PHPUnit and enhance TextControl value mapping
Introduces a comprehensive PHPUnit test suite with test entities and an in-memory EntityManager factory. This provides a robust foundation for future development and ensures correctness of data mapping.
Enhances `TextControl` to properly handle:
* Boolean entity properties mapping to `0`/`1` for `ChoiceControl` components (select, radio lists) and back to `true`/`false`. This prevents issues where `false` entity values would not be correctly selected in the form.
* Enum values mapping to their scalar backing values in form fields.
* Empty strings from form fields mapping to `NULL` for nullable entity properties.
This ensures more robust data hydration and persistence for common scalar types.