Browse Source
Merge pull request #12182 from ArtemDzhereleiko/AD/bug-fix/two-segment-button-disabled-edit
Fixed Two segment button widget disable event on edit mode
pull/12190/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/button/two-segment-button-widget.component.html
|
|
|
@ -15,7 +15,7 @@ |
|
|
|
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> |
|
|
|
<div class="tb-segmented-button-container"> |
|
|
|
<tb-widget-button-toggle |
|
|
|
@ -23,6 +23,7 @@ |
|
|
|
[appearance]="appearance" |
|
|
|
[autoScale]="autoScale" |
|
|
|
[disabled]="disabled || (loading$ | async)" |
|
|
|
[disableEvents]="ctx.isEdit" |
|
|
|
[value]="value" |
|
|
|
[ctx]="ctx" |
|
|
|
(clicked)="onClick($event)"> |
|
|
|
|