- Issue created by @Nuuou
- First commit to issue fork.
- Status changed to Needs review
over 1 year ago 9:12pm 29 November 2023 - πΊπΈUnited States Nuuou Lincoln, NE
While this MR is a good start, I think there's a deeper issue of the lack of internals being exported.
This makes for extending or replacing elements with your own React components still quite difficult.As an example: Say I wanted to create my own
WebformDate.tsx
file for customizing date fields.
While I can register my own React component to handle this, I'd immediately lose access to the internalwithDefaultValue
,withStates
,withWrapper
, andwithAttributes
helpers that are used in this package's version ofWebformDate.tsx
here https://git.drupalcode.org/project/next_webform/-/blob/1.0.x/src/compone....It'd be great to enhance customization without losing out on all the other benefits this package is providing!