I'm new to Angular and I'm attempting to adjust the width of a primeng auto complete component in order to fill the column of a table. I've already experimented with using
style="width: 100%"
but that approach hasn't yielded any results; additionally, I have also tried applying this directly in the HTML file but still no changes occur
[style]="{'width':'100%'}" [inputStyle]="{'width':'100%'}" class="p-autocomplete"
Current status:
https://i.sstatic.net/ekNyW.png
What I am striving to achieve:
https://i.sstatic.net/j66NI.png
primeng version: 9.0.0
link to access the code: https://stackblitz.com/edit/primeng-tablebasic-demo-p9egw5?file=src/app/app.component.html