I am happy to announce the release of W2UI 1.4. This release has many improvements and bug fixes. New 1.4 version is not fully
backward compatible with 1.3, however, the migration should be easy as there were only few changes that would break your previous
One of the biggest updates in this release is fully refactored input controls, see demos.
You can use them stand-alone (more in this post) or within
a form. Input controls include:
I have added route property in w2sidebar node, w2toolbar item and w2tabs tab. Consider following example in case of a sidebar:
Now, clicking on the node, will follow a route with merged dynamic id.
In w2grid and w2form you can use dynamic routes as they pull data from the server
Overlays had major improvements. Now overlays will:
open up or down depending on available screen space
Form template auto generating is not new, but in this release it has been improved with additional options. You can
still provide your own form template or specify how a template
should be built. The template for a particular field has changed.
which I think is more expressive. Still, the easiest way to generate initial templates by
Get all nodes, items, tabs
Now you get quickly find out all nodes in w2sidebar, items in w2toolbar or tabs w2tab by calling get
method without arguments. It turned out to be quite useful. Consider the following example that disabled all nodes with one line
For a complete list of changes, see change log below.