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

Option to add name tag to the hidden input element #54

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

Conversation

bigomega
Copy link

@bigomega bigomega commented Mar 4, 2014

This is very useful when you don't handle the changes but serialize the whole form to get all selected data

@medv
Copy link

medv commented Jun 24, 2014

Surprised this is not the default functionality, removing input names messes with a lot of back-end scaffolded forms.

@romgen
Copy link

romgen commented Mar 6, 2015

I guess development of ddslick should continue in bigomega:master :-)

Great work!

@dhaupin
Copy link

dhaupin commented Dec 2, 2015

Thanks. Not sure why this isn't in the master. In addition to wrecking up forms/scaffold....serialize() needs a name attrib to function properly, and that name often must be passed with a unique identifier to avoid collisions.

@calbow-75
Copy link

I have a short question regarding the name tag of the hidden dd-selected-value field.
The name tag allways stays name="" even if I select an option.
in my dd-option-value hidden input field, i do find the correct value for the name tag.
How comes that after selection the above mentioned field does noch adapt? - I did all the changes mentioned in the Fix:updating the ddSelectHTML --- could you help?

`	ddSelectHtml = ddSelectHtml.replace('{{name}}', options.name || '');`

options.name seems to be emty ---

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.

5 participants