dimanche 12 février 2023

How to change checkbox to required html format in pdfmake?

I want to change the below html to required format as in below image,

<div id="pdfTable" #pdfTable style="display: none;">
 <table class="table table-borderless mb-0" style="font-size:14px;">
    <thead>
        <label for="" style="text-align: center;">Recommendation: </label>
        <tr style="">
            <td *ngFor="let recommendation of recommendations" style="border:0;width:25%">
                <span *ngIf="recoName == recommendation.listTypeValueName">
                    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYA alt="">
                    
                </span>
                <p *ngIf="recoName != recommendation.listTypeValueName"><img
                        src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAA alt=""> 
                         </p>
            </td>
        </tr>

    </thead>
 </table>
</div>

Required Format

Required Format

What I am getting from above html

What I am getting




Aucun commentaire:

Enregistrer un commentaire