mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-07 08:06:35 +02:00
0e8e42e015
* 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 |
||
---|---|---|
.. | ||
icons | ||
scripts | ||
styles |