@shival99/z-ui 2.0.13 → 2.0.14

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.
@@ -1893,6 +1893,10 @@ class ZCalendarComponent {
1893
1893
  input.blur();
1894
1894
  if (this.showOkButton() && this.canApply()) {
1895
1895
  this.onOkClick();
1896
+ return;
1897
+ }
1898
+ if (!this.showOkButton()) {
1899
+ this._applyValue();
1896
1900
  }
1897
1901
  }
1898
1902
  onEndInputEnter(event) {
@@ -1927,6 +1931,10 @@ class ZCalendarComponent {
1927
1931
  input.blur();
1928
1932
  if (this.showOkButton() && this.canApply()) {
1929
1933
  this.onOkClick();
1934
+ return;
1935
+ }
1936
+ if (!this.showOkButton()) {
1937
+ this._applyValue();
1930
1938
  }
1931
1939
  }
1932
1940
  onInputFocus(_event) {