dfish-widget 1.0.102 → 1.0.104

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/lib/index.esm.js CHANGED
@@ -11442,7 +11442,8 @@ var script$b = {
11442
11442
  this.baseFocus(e);
11443
11443
  },
11444
11444
  onkeyup() {
11445
- this.showDrop = true;
11445
+ if (this.isNormal)
11446
+ this.showDrop = true;
11446
11447
  },
11447
11448
  // implement
11448
11449
  onCloseDrop() {
@@ -12141,12 +12142,13 @@ var script$6 = {
12141
12142
  class: 'w-combobox-input',
12142
12143
  style: {
12143
12144
  width: this.sensor_width,
12144
- },
12145
+ },
12146
+ readonly: !this.isNormal,
12145
12147
  placeholder: this.input_value ? null : this.input_placeholder,
12146
12148
  oninput: this.oninput,
12147
12149
  onkeydown: this.onkeydown,
12148
- onblur: this.onblur,
12149
- onfocus: this.onfocus,
12150
+ onblur: this.isNormal && this.onblur,
12151
+ onfocus: this.isNormal && this.onfocus,
12150
12152
  })
12151
12153
  ])
12152
12154
  },
@@ -12154,9 +12156,9 @@ var script$6 = {
12154
12156
  const r = [
12155
12157
  this.html_options()
12156
12158
  ];
12157
- if (this.isNormal) {
12159
+ //if (this.isNormal) {
12158
12160
  r.push(this.html_var());
12159
- }
12161
+ //}
12160
12162
  if (this.showSuggest) {
12161
12163
  let dropProps = {
12162
12164
  context: this,