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.{ 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
.up.observe(form, options)
would not respect options.up.autosubmit(form)
was not published.up.error()
has been renamed to up.fail()
in order to prevent confusion with up.log.error()
.
If you're upgrading from an older Unpoly version you should load unpoly-migrate.js
to polyfill deprecated APIs.
Changes handled by unpoly-migrate.js
are not considered breaking changes.
See our upgrading guide for details.