nice-elements 1.9.10 → 1.9.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.9.11 (7.12.2023)
4
+
5
+ - fixed nice input model default 0
6
+
3
7
  ## v1.9.10 (5.12.2023)
4
8
 
5
9
  - fixed default number is null instead of 0
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ![Nice elements](https://github.com/Klemen1337/angularjs-nice-elements/raw/master/demo/assets/logo.png)
2
2
 
3
- # Nice elements v1.9.10
3
+ # Nice elements v1.9.11
4
4
 
5
5
  Nice elements is an AngularJS v1.5.8 module that contains nice form elements like inputs, choice fields, search, toggle, dropdown, etc.
6
6
 
package/bower.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nice-elements",
3
- "version": "1.9.10",
3
+ "version": "1.9.11",
4
4
  "authors": [
5
5
  "Klemen Kastelic <klemen@olaii.com>"
6
6
  ],
package/dist/nice.js CHANGED
@@ -3791,7 +3791,7 @@ angular.module('niceElements')
3791
3791
  } else if (attrs.type == "number") {
3792
3792
  scope.internalType = "text";
3793
3793
  scope.inputMode = "decimal";
3794
- if (scope.model) {
3794
+ if (scope.model != null) {
3795
3795
  scope.model = Number(scope.model);
3796
3796
  } else {
3797
3797
  scope.model = null;
@@ -5833,7 +5833,7 @@ angular.module('niceElements')
5833
5833
  .service('NiceService', function () {
5834
5834
  var service = {
5835
5835
  name: "Nice elements",
5836
- version: "1.9.10",
5836
+ version: "1.9.11",
5837
5837
  getHeader: function () {
5838
5838
  return {};
5839
5839
  }