- Issue created by @pdureau
-
pdureau →
committed 402e2042 on 2.0.x authored by
Christian.wiedemann →
Issue #3395961 by Christian.wiedemann: [2.0.x] Add new PropTypes...
-
pdureau →
committed 402e2042 on 2.0.x authored by
Christian.wiedemann →
- Status changed to Needs work
about 1 year ago 4:09pm 23 October 2023 - 🇩🇪Germany Christian.wiedemann
pdureau → credited Christian.wiedemann → .
- 🇫🇷France pdureau Paris
Work in progress.
Some feedbacks...
default_source for propType plugins
So, the form builder knows which source plugin to select by default.
convertFrom() method for propType plugins
We know that:
- each slot can also get strings props values, wrapping them into a #plain_text render array
- each string prop can also get number props values, casting them as (string)
- ...
But we will not write all the expected prop types in the source annotations.
We need a way of:
- declaring those compatibilities
- hosting a converter method
See specification: https://docs.google.com/document/d/1-GaMK1Qk-h0hmB7GtAcnqPTuCOGMaxeRguop...
alterComponent() parameters for source plugins
Exists but not used. See: https://www.drupal.org/project/ui_patterns/issues/3395953#comment-15284676 📌 [2.0.0-alpha1] Add new Form Builder Needs work
- Assigned to pdureau
- 🇫🇷France pdureau Paris
default_source & alterComponent are done.
Remaining work: convertFrom() method for propType plugins
- Issue was unassigned.
- Status changed to Needs review
11 months ago 11:45am 12 January 2024 - 🇫🇷France pdureau Paris
Remaining work was moved to its own issue: 📌 [2.0.0-alpha3] Implement PropTypeInterface::convertFrom() Needs review
this isssue is done
- Status changed to Fixed
11 months ago 8:06am 15 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.