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

Rename model properties #1223

Merged
merged 1 commit into from
Dec 19, 2016
Merged

Rename model properties #1223

merged 1 commit into from
Dec 19, 2016

Conversation

ivanrozin
Copy link
Contributor

@ivanrozin ivanrozin commented Dec 18, 2016

Changes at examples/api.html

At selectize initialization we have ('id' and 'title' properties names):
`options: [ {id: 1, title: 'Spectrometer', url: 'http://en.wikipedia.org/wiki/Spectrometers'},......

At AddOption handler must be same viewModel, but properties names differ:
control.addOption({ value: 4, text: 'Something New',......

Pull request rename properties at AddOption handler as they are at initialization. Otherwise button 'AddOption()' does not work

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 413c97c on ivanrozin:master into ** on selectize:master**.

@joallard joallard merged commit a88f97f into selectize:master Dec 19, 2016
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.

None yet

3 participants