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

'Add' button not working for dropdown, checkbox, and radio options #762

Closed
SUTHERLANDesign opened this issue Apr 24, 2018 · 4 comments
Closed

Comments

@SUTHERLANDesign
Copy link

SUTHERLANDesign commented Apr 24, 2018

Not sure if others have come across this issue.

Trying to select the 'Add' button for options fields in the Options tab for those three dropdown, checkbox, and radio fields.

I'm using the latest version for UserForm master module and SS4.1.0 version.

From what i can see in the view source code, the 'Add' button it shows missing url in the href:

<div class="btn-toolbar">
   <button href="" class="ss-gridfield-add-new-inline btn btn-primary" data-icon="add">
	Add
   </button>
</div>

Is there other way to hack to add the option fields temporary for now until this gets fixed?

@robbieaverill
Copy link
Contributor

Hi @buffy999, this part of userforms uses a third party plugin to allow faster data entry. Perhaps you're experiencing this issue? symbiote/silverstripe-gridfieldextensions#246 You could check in your browser console and let us know if there are any error messages

@robbieaverill
Copy link
Contributor

robbieaverill commented Jun 1, 2018

@buffy999 are you still experiencing this issue? The similar problems we've seen lately have resulted in third party modules rather than userforms or gridfieldextensions themselves. Can you please provide the full output of composer show from the command line in your project?

@SUTHERLANDesign
Copy link
Author

@robbieaverill, this issue has been resolved now as it was the resources folder in the public folder that the vendors files were missing, so i have updated all the files using "composer vendor-expose", that resolved the 'Add' button for options fields in the Options tab for those three dropdown, checkbox, and radio fields and as well for other issues i had related to this issue:
silverstripe/silverstripe-blog#531

I'll close this issue now.

@robbieaverill
Copy link
Contributor

Thank you

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

No branches or pull requests

2 participants