Version 0.28.0
Released on with 16 commits
Compatible changes
- The error notification is now easier to read and can be closed.
- When a target selector was not found in the response, the error notification now offers a link to re-request the response for inspection.
- Compilers can now return an array of functions that will all be called when the element is destroyed.
up.observe()now works on checkboxes and radio buttons.up.observe()can now be called with multiple form fields, or any container that contains form fields.- When opening a modal you can now pass an option
{ closable: false }or set anup-closable='false'attribute This lets you disable the default methods to close a modal (close button, clicking on the backdrop, pressing ESC). You can also configure this globally by settingup.modal.config.closable. - Fix a bug where
up.observe(form, options)would not respect options. - Fix a bug where
up.autosubmit(form)was not published. - Fix a bug where falling back to non-AJAX page loads on old browsers would not work
Breaking changes
- 🧩
up.error()has been renamed toup.fail()in order to prevent confusion withup.log.error().