@unifylib/ui-lib 1.1.34 → 1.1.35

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.
@@ -1839,7 +1839,7 @@ class DecimalOnlyDirective {
1839
1839
  return;
1840
1840
  }
1841
1841
  if (event.key === '.') {
1842
- if (value.includes('.')) {
1842
+ if (this.maxDecimals === 0 || value.includes('.')) {
1843
1843
  event.preventDefault();
1844
1844
  return;
1845
1845
  }