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

Fix when link_to_remove contain html #7

Closed
wants to merge 2 commits into from

Conversation

Belibaste
Copy link

Hello

This is a small fix for the removeFieldsHandler when the link_to_remove_association is not only a string, but contain some HTML elements, like the close button from Bootstrap.
As I think this repo is the one people find when they look for a replacement of Cocoon JS (as I did), it would help some of us.

PS @kollegorna : I am not used to contribute, so if you have something to tell me about this, or any advice or comment on this PR, you are very welcome :-)

@osvaldasvalutis
Copy link
Contributor

Thanks @Belibaste. I fixed this is in #9 . The improvement is available in v1.0.4. Do not change original author references next time ;)

@Belibaste
Copy link
Author

Nice !
Sorry about the author changes, I had to do it in my fork for some reasons, I did not see that it was included in mu PR.

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.

2 participants