primeng
primeng copied to clipboard
P-InputGroup: Toggle button does not work as a child of inputgroup
Describe the bug
When using an inputgroup to combine an inputfield and a togglebutton, the button is not recognized as such and has a border and rounded corners.
Environment
We are using Angular 17
Reproducer
https://stackblitz.com/edit/8tmow7
Angular version
17.3.1
PrimeNG version
17.12.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.11.1
Browser(s)
any
Steps to reproduce the behavior
- create a p-inputgroup with a p-inputfield enclosed
- put a p-togglebutton before and a p-button after the inputfield
Expected behavior
the p-togglebutton should work like any other button