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

Generate field ids #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Generate field ids #16

wants to merge 2 commits into from

Conversation

djeglin
Copy link

@djeglin djeglin commented Jan 20, 2022

This fixes #12 by generating an id for each svg upload field, based on the field title and parent key. So long as the field title is unique within the parent item, so will the field id be. Can possibly be made more robust, but this is a solid improvement on where we are now.

@djeglin
Copy link
Author

djeglin commented Feb 4, 2022

@artemartemov would be good to get your review on this and get this merged in, as it fixes a fairly major issue. I can run on my fork for now, but would love to get the change merged into the main package if possible.

@wojtazik
Copy link

wojtazik commented Sep 1, 2022

Hello @artemartemov :) Could you please review and merge it? I need these changes asap

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

Successfully merging this pull request may close these issues.

Error: Unable to use Multiple Instances of svgUploadPreview in single document
2 participants