@ -74,14 +74,17 @@ export class Searcher extends Widget {
// masker层
offset: {},
},
simple: false,
});
}
render() {
const { el, lgap, rgap, tgap, bgap, vgap, hgap, isDefaultInit } = this.options;
const { el, lgap, rgap, tgap, bgap, vgap, hgap, isDefaultInit, simple } = this.options;
this.editor = createWidget(el, {
type: SearchEditor.xtype,
simple,
createWidget({
@ -52,6 +52,7 @@ export class MultiSelectInsertList extends Single {
valueFormatter: emptyFn,
searcherHeight: SIZE_CONSANTS.TRIGGER_HEIGHT,
itemHeight: SIZE_CONSANTS.LIST_ITEM_HEIGHT,
@ -118,6 +119,7 @@ export class MultiSelectInsertList extends Single {
el: {
watermark: i18nText("BI-Basic_Search_And_Patch_Paste"),
simple: o.simple,
ref(ref) {
self.editor = ref;
@ -15,6 +15,7 @@ export class MultiSelectTree extends Single {
return extend(super._defaultConfig(...arguments), {
baseCls: "bi-multi-select-tree",
itemsCreator: emptyFn,
@ -55,6 +56,7 @@ export class MultiSelectTree extends Single {
this.searcher = createWidget({
type: Searcher.xtype,
isAutoSearch: false,
isAutoSync: false,
onSearch(op, callback) {
@ -33,6 +33,7 @@ export class SingleSelectInsertList extends Single {
itemWrapper: emptyFn,
searcherHeight: 24,
@ -93,6 +94,7 @@ export class SingleSelectInsertList extends Single {
@ -8,7 +8,7 @@ import {
parseDateTime,
checkDateVoid,
checkDateLegal,
isNotNull
isNotNull,
} from "@/core";
import { Single, Label, Bubbles } from "@/base";
import { DynamicDateCombo } from "../dynamicdate";
@ -39,6 +39,7 @@ export class DateInterval extends Single {
maxDate: "2099-12-31",
height: 24,
supportDynamic: true,
@ -68,7 +69,7 @@ export class DateInterval extends Single {
{
el: this.right,
],
};
@ -91,7 +92,7 @@ export class DateInterval extends Single {
action: () => {
this.fireEvent(DateInterval.EVENT_BEFORE_YEAR_MONTH_POPUPVIEW);
combo.on(DynamicDateCombo.EVENT_ERROR, () => {
@ -33,6 +33,7 @@ export class YearMonthInterval extends Single {
@ -70,6 +71,7 @@ export class YearMonthInterval extends Single {
const o = this.options;
const combo = createWidget({
type: DynamicYearMonthCombo.xtype,
supportDynamic: o.supportDynamic,
height: o.height,
minDate: o.minDate,