Problem/Motivation
The textfield widget is currently just supporting string and identifier prop types. We should allow slot as well so you can use that for simple markup that needs to go into a slot like a button link component.
There is only Token available that provides a simple text field so let's make the pure text field available for slots as well.
Proposed resolution
Adding slot to supported prop types for TextfieldWidget
Issue fork ui_patterns-3552995
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
yannickooComment #4
yannickooComment #5
pdureau commentedLet's check if removing "widget" is enough.
Comment #6
just_like_good_vibesComment #7
just_like_good_vibesComment #8
just_like_good_vibesi have updated the source, to do it the proper way. the textfield source was already compatible and available for splots, except that is was tagged as widget:dismissible which was the reason why it did not appear for splot. i removed that tag and now it appears.
Comment #10
just_like_good_vibes