skip to Main Content

Html – disable p-dropdown option when options are display in ng-template for looping them

i am trying to disable option in p-dropdown but i use ng-template for looping the options here is my code any suggestions ? thanks <p-dropdown [options]="task.statusOptions" optionLabel="name" optionValue="id" (onChange)="updateTaskCurrentStatus($event, task)" appendTo="body" [placeholder]="this.dropdownPlaceholder(task)" > <ng-template let-status pTemplate="status"> <div [ngStyle]="{ color: status.uiSetting.color}"…

VIEW QUESTION

Html – Accessibility of a text with inline <svg>

I have the following code: <h2> Deadpool <svg width="53" height="64" class="inline" aria-label="and"> <use href="#oleo-ampersand"></use> </svg> Wolverine:<br> A StackOverflow Example </h2> The ampersand is stylized as follows: Now, I want screen readers to narrate it as a regular phrase (i.e.“Deadpool and…

VIEW QUESTION
Back To Top
Search