Skip to content

Commit

Permalink
Feature(402681):missed commit
Browse files Browse the repository at this point in the history
  • Loading branch information
GowthamKumarMVS committed Dec 19, 2024
1 parent 636baef commit 0eec586
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@
<input #optionDescription type="text" placeholder="Option Description" class="button-input" [style.display]="isVisible ? 'block' : 'none'"/>
</div>
<div>
<button ejs-button type="button" iconCss='e-icons e-check' (click)="addButton(optionLabel.value, optionValue.value, isVisible ? optionDescription.value : null, optionLabel, optionValue, isVisible ? optionDescription : null)"></button>
@if(editIndex==-1){
<button ejs-button type="button" iconCss='e-icons e-check' (click)="addButton(optionLabel.value, optionValue.value, isVisible ? optionDescription.value : null, optionLabel, optionValue, isVisible ? optionDescription : null)"></button>
}
@else{
<button ejs-button type="button" iconCss='e-icons e-check' (click)="editOptionButton(optionLabel.value, optionValue.value, isVisible ? optionDescription.value : null, optionLabel, optionValue, isVisible ? optionDescription : null)"></button>
}
<button ejs-button type="button" iconCss='e-icons e-close' (click)="cancelOption(optionLabel, optionValue, isVisible ? optionDescription : null)"></button>
</div>
</ng-template>
Expand Down

0 comments on commit 0eec586

Please sign in to comment.