Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InputGroup | Add styleClass and style input properties #14404

Closed
msg-ptavoul opened this issue Dec 19, 2023 · 1 comment
Closed

InputGroup | Add styleClass and style input properties #14404

msg-ptavoul opened this issue Dec 19, 2023 · 1 comment
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@msg-ptavoul
Copy link

Describe the bug

If we put an InputMask inside an InputGroup the InputMask width is very small.
So the InputMask is not filling up to 100% (it's more like 1%).

We tried to use the PrimeFlex class "w-full" to set the width up to 100%.
But that is not working...

Environment

Windows 11

Reproducer

https://stackblitz.com/edit/stackblitz-starters-1l7ghs

Angular version

17.0.0

PrimeNG version

17.0.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.9.0

Browser(s)

119.0.6045.200

Steps to reproduce the behavior

  1. Write an InputGroup Wrapper
  2. Put an InputMask inside the wrapper
  3. Run the Project and check the view
  4. Put the PrimeFlex class "w-full" into the InputMask and check again the view - nothing happened

Expected behavior

No response

@msg-ptavoul msg-ptavoul added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 19, 2023
@cetincakiroglu
Copy link
Contributor

cetincakiroglu commented Dec 20, 2023

Hi,

pInputGroup needs styleClass and style input properties to fix it. Updating the issue title. Also you're binding class to the ng-component by using it class="some class". You can use styleClass and style properties to update it with the upcoming release.

@cetincakiroglu cetincakiroglu changed the title InputMask: Incorrect rendering inside InputGroup and ignoring the usage of the PrimeFlex "w-full" class InputGroup | Add styleClass and style input properties Dec 20, 2023
@cetincakiroglu cetincakiroglu self-assigned this Dec 20, 2023
@cetincakiroglu cetincakiroglu added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add Type: New Feature Issue contains a new feature or new component request and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 20, 2023
@cetincakiroglu cetincakiroglu added this to the 17.1.1 milestone Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

3 participants