- Issue created by @kensae
- 🇫🇷France pdureau Paris
Thanks you so much Kensae, your solution is very pragmatic, targeting exactly where the issue here in SDC prop conversion.
However, we are currently facing a similar issue in UI Example module: ✨ Support Single directory components Active and I would address to address both:
- in a more generic way, because the root cause is the wrong sue of render children by SDC
- in a similar way in both module
So, I let this in review state for now.
- 🇫🇷France pdureau Paris
Do we need tests mixing
#-prefixed properties and not already#-prefix properties?Data:
'#type' => 'component', 'component' => 'ui_suite_daisyui:card', '#slots' => []Expected:
'#type' => 'component', '#component' => 'ui_suite_daisyui:card', '#slots' => []Data:
'type' => 'component', 'component' => 'ui_suite_daisyui:card', '#slots' => []Expected:
'#type' => 'component', '#component' => 'ui_suite_daisyui:card', '#slots' => []Data:
'#type' => 'html_tag', 'tag' => 'p', 'anything' => []Expected:
'#type' => 'html_tag', '#tag' => 'p', 'anything' => []Data:
'#type' => 'html_tag', 'tag' => 'p', 'anything' => []Expected:
'#type' => 'html_tag', '#tag' => 'p', 'anything' => []And also, some tests about
#theme;: layoutwhich is the reason why we started this work.