bk-magic-vue 2.5.9-beta.41 → 2.5.9-beta.43

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.
@@ -8773,6 +8773,9 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em{
8773
8773
  .bk-select .bk-select-name,.bk-select .bk-select-name:hover,.bk-select .bk-select-name:active{
8774
8774
  outline:none;
8775
8775
  }
8776
+ .bk-select .bk-select-name.allow-create::-webkit-input-placeholder{
8777
+ color:#c3cdd7;
8778
+ }
8776
8779
  .bk-select .bk-tooltip.bk-select-dropdown{
8777
8780
  display:block
8778
8781
  }
@@ -30150,7 +30150,7 @@
30150
30150
  },
30151
30151
  handlerInput: function handlerInput(event) {
30152
30152
  var _this5 = this;
30153
- if (this.inputType === 'number' && this.isOnComposition) {
30153
+ if (this.isOnComposition) {
30154
30154
  return;
30155
30155
  }
30156
30156
  this.$nextTick(function () {
@@ -34492,7 +34492,7 @@
34492
34492
  var popover = this.getPopoverInstance();
34493
34493
  popover.set({
34494
34494
  onShown: function onShown() {
34495
- if (_this6.showSearch) {
34495
+ if (_this6.showSearch && !_this6.allowCreate) {
34496
34496
  _this6.$refs.searchInput && _this6.$refs.searchInput.focus();
34497
34497
  }
34498
34498
  }
@@ -34829,10 +34829,11 @@
34829
34829
  }
34830
34830
  }) : [_vm.allowCreate && !_vm.multiple ? _c('input', {
34831
34831
  ref: "createInput",
34832
- staticClass: "bk-select-name",
34832
+ staticClass: "bk-select-name allow-create",
34833
34833
  class: _vm.fontSizeCls,
34834
34834
  attrs: {
34835
- "title": _vm.selectedName
34835
+ "title": _vm.selectedName,
34836
+ "placeholder": _vm.localPlaceholder
34836
34837
  },
34837
34838
  domProps: {
34838
34839
  "value": _vm.selectedName || _vm.value