tnx-shared 5.3.323 → 5.3.324
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/bundles/tnx-shared.umd.js +10 -1
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/classes/form-schema.d.ts +1 -0
- package/classes/form-schema.d.ts.map +1 -1
- package/components/dropdown/dropdown.component.d.ts.map +1 -1
- package/esm2015/classes/form-schema.js +2 -1
- package/esm2015/components/dropdown/dropdown.component.js +10 -2
- package/fesm2015/tnx-shared.js +10 -1
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -1383,6 +1383,7 @@
|
|
|
1383
1383
|
_this.isHorizontallyLabel = false;
|
|
1384
1384
|
_this.order = 0;
|
|
1385
1385
|
_this.showTooltip = true;
|
|
1386
|
+
_this.showTooltipOnly = false;
|
|
1386
1387
|
for (var key in init) {
|
|
1387
1388
|
_this[key] = init[key];
|
|
1388
1389
|
}
|
|
@@ -33423,6 +33424,9 @@
|
|
|
33423
33424
|
if (this.control.placeholder == null && this.control.multiple) {
|
|
33424
33425
|
this.control.placeholder = 'Chưa chọn bản ghi';
|
|
33425
33426
|
}
|
|
33427
|
+
if (this.control.tooltip && this.control.showTooltip) {
|
|
33428
|
+
this.tooltip = this.control.tooltip;
|
|
33429
|
+
}
|
|
33426
33430
|
this.setDefaultSetting();
|
|
33427
33431
|
if (this.control.baseService) {
|
|
33428
33432
|
if (this.control.isServerLoad) {
|
|
@@ -34040,7 +34044,12 @@
|
|
|
34040
34044
|
};
|
|
34041
34045
|
DropdownComponent.prototype.getValueReturn = function () {
|
|
34042
34046
|
this._returnValue = this.funcReturnValue(this._value);
|
|
34043
|
-
if (
|
|
34047
|
+
if (this.control.showTooltipOnly) {
|
|
34048
|
+
if (this.control.generateTooltip) {
|
|
34049
|
+
this.tooltip = this.control.generateTooltip(this._value);
|
|
34050
|
+
}
|
|
34051
|
+
}
|
|
34052
|
+
else if (!this.control.multiple) {
|
|
34044
34053
|
if (this.control.generateTooltip) {
|
|
34045
34054
|
if (this._value) {
|
|
34046
34055
|
this.tooltip = this.control.generateTooltip(this._value);
|