- Issue created by @pdureau
- Issue was unassigned.
- Status changed to Closed: duplicate
4 months ago 7:40pm 27 August 2024 - 🇫🇷France pdureau Paris
Will be done in 📌 [2.0.0-beta2] Attributes normalization Fixed
Following the completion of ✨ [2.0.0-alpha1] Resolve Twig namespaces in _template property Active and the cancellation of ✨ [2.0.0-alpha1] Expose default attribute prop in forms? Active , let's check again if this works:
The default attribute object it is visible in Form Builder only when the prop is explicitly present in the definition file (which is not a good practice).
We don't do it automatically by default because some (most?) projects doesn't want the attributes to be exposed for every components.
However, if a project wants this attributes visible by default, he can add it by using this $this->alterInfo('component_info') hook.
If it is not working yet, propose a fix.
Also, this can be a good use case to prepare the future "UI Patterns UI" module (a module to configure the sources in form).
Closed: duplicate
2.0
Code
Will be done in 📌 [2.0.0-beta2] Attributes normalization Fixed