Issue
<p-checkbox name="group1" [value]="true" label="Outsourcing"
style="margin: 0 25px"></p-checkbox>
On the default the labes is on the right of checkbox, how can I change it to be on the left?
Solution
You can achieve this by setting flex-direction
style property to row-reverse
in p-checkbox
element.
<p-checkbox
name="group1"
[value]="true"
label="Outsourcing"
style="margin: 0 25px; flex-direction: row-reverse">
</p-checkbox>
Working example: https://stackblitz.com/edit/angular-ivy-drzmxl?file=src/app/app.component.html
Answered By - besimgurbuz
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.