Choices/src/scripts
Kazuki Nishikawa 0e8e42e015 Fix #573 (#574)
* add specs

* fix to restore preset choices after destroy

* avoid to modify `this.config.choices` directly

* Update cypress/integration/select-one.spec.js

Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>

* Update public/test/select-one.html

Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>

* Update public/test/select-one.html

Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>

* Update public/test/select-one.html

Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>

* Update public/test/select-one.html

Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>

* fix specs

* restoring passed element initial options

 - Save `passedElement.options` values as `this._presetOptions`
 - Restore saved `this._presetOptions` to `passedElement.options` on `destroy`
 - It avoids restoring options in `this.config.choices`

* Update cypress/integration/select-one.spec.js

Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>

* Update cypress/integration/select-one.spec.js

Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>

* Update public/test/select-one.html

Co-Authored-By: Josh Johnson <josh@joshuajohnson.co.uk>

* move preset options assignment statement
2019-11-17 12:34:34 +00:00
..
actions Code refactoring (#735) 2019-11-03 17:45:16 +00:00
components Fix id types (#743) 2019-11-08 09:19:18 +00:00
lib improve whole-page performance by scoping events handlers (#740) 2019-11-12 09:47:41 +00:00
reducers Update code styling rules (#713) 2019-10-29 18:26:11 +00:00
store Fix id types (#743) 2019-11-08 09:19:18 +00:00
choices.js Fix #573 (#574) 2019-11-17 12:34:34 +00:00
choices.test.js Fix id types (#743) 2019-11-08 09:19:18 +00:00
constants.js Resolve bug #637 (#754) 2019-11-13 14:49:23 +00:00
constants.test.js Resolve bug #637 (#754) 2019-11-13 14:49:23 +00:00
templates.js Resolve bug #637 (#754) 2019-11-13 14:49:23 +00:00
templates.test.js Remove redundant check (#755) 2019-11-13 15:40:47 +00:00