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

Does not remove options on editor #1143

Closed
FreitasJonas opened this issue Dec 7, 2020 · 5 comments · Fixed by #1144
Closed

Does not remove options on editor #1143

FreitasJonas opened this issue Dec 7, 2020 · 5 comments · Fixed by #1144
Labels

Comments

@FreitasJonas
Copy link

Description:

Is impossible to remove options from CheckBox Group, Radio Group, Select...

Environment Details:

  • formBuilder Version: 3.6.0
  • Browser: Google Chrome
  • OS: Windows 10

Expected Behavior

Remove options in the editor by clicking the Close button

Actual Behavior

Does not remove

Steps to Reproduce

Add a radio group on editor, add some options and try to remove clicking on the button 'close'

Screenshot - (optional)

image

This button doesn't work.

@FreitasJonas FreitasJonas changed the title Select options problem on editor Does not remove options on editor Dec 7, 2020
@kevinchappell
Copy link
Owner

@FreitasJonas This is actually a styling error. If you check the console after clicking the remove button on the second option you'll see a message saying that a radio group requires at least 2 options. I'm not sure why the style for this stopped working but have updated it to hide the second option remove again in #1144 .

github-actions bot pushed a commit that referenced this issue Dec 7, 2020
## [3.6.2](v3.6.1...v3.6.2) (2020-12-07)

### Bug Fixes

* radio group option remove button visible on second option ([8a838f7](8a838f7)), closes [#1143](#1143)
@kevinchappell
Copy link
Owner

🎉 This issue has been resolved in version 3.6.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@FreitasJonas
Copy link
Author

@kevinchappell Thanks for your attention.

Unfortunately the problem persist.

See:

image

When I keep clicking

image

@kevinchappell
Copy link
Owner

kevinchappell commented Dec 7, 2020

i have never seen that second screenshot. Can you create a codepen that replicates the problem? https://codepen.io/kevinchappell/pen/vLjOLL

currently i am unable to reproduce the issue
1143

@FreitasJonas
Copy link
Author

I managed to resolve this error when I analyzed the page's css, I realized that a style file was interfering with the style of the formbuilder causing the position of the close button to be changed.

thanks for your attention and sorry for the mistake, it was not a problem in formBuilder.

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

Successfully merging a pull request may close this issue.

2 participants