Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make UserForms suggested, not a requirement #39

Open
wernerkrauss opened this issue Jun 29, 2023 · 1 comment
Open

Make UserForms suggested, not a requirement #39

wernerkrauss opened this issue Jun 29, 2023 · 1 comment

Comments

@wernerkrauss
Copy link

It would be great if I could install the module to just use the normal field without having to install UserForms.

You could make composer suggest UserForms and wrap the EditableField classes in an if class exists condition.

@MrJamesEllis
Copy link
Member

Hi

Interestingly enough I've been thinking along the same lines as it has grown over time starting with the original fine uploader implementation, but instead of using ifs was thinking of splitting the module out into a module with some base abstract classes and interfaces, an uppy field module requiring that and retain this module as a stripped down version containing some userforms / cms implementations, which would just require the uppy field module to preserve BC.

Someone could install just the field module and this approach would allow some other field implementations implemented as standalone modules, such as Filepond.

Always happy to have contributions.

Cheers
James

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants