Revision code
Changes
Version 0.28.0
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 an up-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 setting up.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