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

The update method does not offer any update of the config #31

Open
spaceemotion opened this issue Mar 14, 2015 · 3 comments
Open

The update method does not offer any update of the config #31

spaceemotion opened this issue Mar 14, 2015 · 3 comments

Comments

@spaceemotion
Copy link

In order to "update" an already existing select field with a new config, I have to destroy the old SoD field first, and then re-create on with the new settings.

Is there a way to do something like:

$('#select').selectOrDie('update', {
    onChange: function() {
        // ...
    }
})
@vestman
Copy link
Owner

vestman commented Dec 16, 2015

@spaceemotion, thanks for the feedback (yeah, I know it's been a trillion years). I guess you've moved on to another plugin, but just for curiosity: do you think all config options should be updatable or only the onChange?

@spaceemotion
Copy link
Author

Hey @vestman, thanks for the heads up. We all know how busy programmers can be :)
Regarding your question: If possible, i would love to be able to update as much as possible, onChange being a must. Cheers!

@vestman
Copy link
Owner

vestman commented Dec 17, 2015

@spaceemotion, cool. Thanks for the feedback!

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

No branches or pull requests

2 participants