UI: Fixed disable event on edit mode
This commit is contained in:
parent
98526e3617
commit
a0d2ece2bb
@ -15,7 +15,7 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
|
|
||||||
-->
|
-->
|
||||||
<div class="tb-segmented-button-widget" [class.no-pointer-events]="ctx.isEdit">
|
<div class="tb-segmented-button-widget">
|
||||||
<ng-container *ngTemplateOutlet="widgetTitlePanel"></ng-container>
|
<ng-container *ngTemplateOutlet="widgetTitlePanel"></ng-container>
|
||||||
<div class="tb-segmented-button-container">
|
<div class="tb-segmented-button-container">
|
||||||
<tb-widget-button-toggle
|
<tb-widget-button-toggle
|
||||||
@ -23,6 +23,7 @@
|
|||||||
[appearance]="appearance"
|
[appearance]="appearance"
|
||||||
[autoScale]="autoScale"
|
[autoScale]="autoScale"
|
||||||
[disabled]="disabled || (loading$ | async)"
|
[disabled]="disabled || (loading$ | async)"
|
||||||
|
[disableEvents]="ctx.isEdit"
|
||||||
[value]="value"
|
[value]="value"
|
||||||
[ctx]="ctx"
|
[ctx]="ctx"
|
||||||
(clicked)="onClick($event)">
|
(clicked)="onClick($event)">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user