Problem/Motivation
We still need to work a little bit on normalization, see related issues.
errors are like :
Drupal\Core\Render\Component\Exception\InvalidComponentException: [items[1].title] Object value found, but a string is required in Drupal\Core\Theme\Component\ComponentValidator->validateProps() (line 203 of core/lib/Drupal/Core/Theme/Component/ComponentValidator.php).
Issue fork ui_patterns-3492211
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
grimreaperoriginal report in #3491238-18: [2.0.0-beta6] normalization of slots triggers some unwanted filtering
Comment #3
pdureau commentedComment #4
just_like_good_vibesComment #6
just_like_good_vibesnew additions with feedback from multiple persons :) thank you all
Comment #8
just_like_good_vibesComment #9
just_like_good_vibesAnd finally, i have corrected and give more strength to our normalization processes.
My advice, is that we could be more systematic to this approach, and factorize code a lot to do that process of "cleaning" what is injected into the components.
but, well, let's continue for now with that version, which seems to cope well with all our the submitted problematic usecases (i hope i did not forget any).
Comment #11
just_like_good_vibesComment #12
steveoriolIt works :-)
Thanks @just_like_good_vibes
Comment #13
just_like_good_vibesthanks for the feedback :)
Comment #14
grimreaperHi,
Thanks, all my test cases are ok now \o/
Comment #15
just_like_good_vibesgreat!
Comment #16
pdureau commented