Releases: OptimalBPM/angular-schema-form-dynamic-select
Add bootstrap dependency
Bootstrap used to be installed by other components, but is no longer, this caused the example code to not work as advertised.
Note:
There is still a bug in angular-strap that makes some of the selects not work properly.
However, that is easy to work around by initializing the arrays.
It will likely be fixed in the next angular-strap release.
Note # 2: The workaround has after this release been applied to most of the selects in the example, as it is also a test bed.
0.7.0 Compatibility release
This release is a an update of dependencies and a subsequent rewrite forced by the fact that both dependencies, angular-schema-form and angular-strap introduced breaking and non-backwards compatible changes, making it impossible for dynamic select to support both sets of versions.
The new dependencies are 2.2.1 of angular-strap and 0.8.0 of angular-schema-form.
To use 0.7.x of angular-schema-form and angular-strap 2.1.6 use version 0.6.0 of this project.
However that is not supported, and no bugs will be fixed in 0.6.0, so it is highly recommended to upgrade to 0.7.0.
0.6.0 Filters and cleaning
Filters
It is now possible to filter the contents of a selector list using expressions.
This is useful where a selection in one place has to affect what can be selected in another.
Cleaning
value/name is not any longer part of the natively supported list format. Use a property map instead.
0.5.0 Named callbacks and Javascript convention adherence
Named callbacks
Callbacks can now be referenced by a string with the function name in the user scope.
This makes callbacks possible to define and pass in JSON.
Thanks to @ravivit9 for feedback and ideas, discussion at issue #5
Javascript naming convention
To adhere to Javascript convention (and common sense) these breaking changes had to be made:
- http_post and http_get are renamed to httpPost and httpGet.
- options.async.callback is removed and options.asyncCallback is used instead.
Renaming these references in the form will restore functionality for users getting problems.
0.4.0 Mappings and CSS support
Version 0.4.0 of angular-schema-form-dynamic-select adds the following features:
- Mappings: Not all backends return exactly value/text arrays (nodeId/nodeName anyone?), so now a mapping functionality has been added to handle more cases.
- CSS support: Now the angular-schema-form standard options htmlClass, labelHtmlClass and fieldHtmlClass are supported. (What standard options are supported?)
Also, the provided examples now have more functionality, and documentation has been improved upon.
Deprecate name/value
Lookup values in HTML selects are expressed as name/text, not name/value.
Both works but name/value is now deprecated and vill either be removed or replaced with a mapping in a later major release.
Do not use angular-strap 2.2.0 or 2.2.1
Due to a bug in angular-strap 2.2.0, angular-schema-form-dynamic-select doesn't work with that version.
This version excludes >=2.2.0 from dependencies.
The related issue: #1
Bug fix: remove duplicate main files from bower.json
This bug caused usemin to add duplicate .js-references during building, which is highly annoying for users.
First release of fork
Accitendally released with 0.4.0 which was the version of the develop branch, apologies to all!