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

InputMask: pt styles #7020

Closed
1 of 4 tasks
laylatichy opened this issue Dec 28, 2024 · 0 comments
Closed
1 of 4 tasks

InputMask: pt styles #7020

laylatichy opened this issue Dec 28, 2024 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@laylatichy
Copy link
Contributor

laylatichy commented Dec 28, 2024

Describe the bug

#6998 #7011

been told that input mask pt works correctly, but after 2 days and reaching out to discord Im still unable to figure it out

how do you pass pt to InputMask?

// doesnt work, passes class but ts error
<InputMask :pt="{
  pcInputText: ['xxx'],
}" ... />

// doesnt work, passes class but ts error
<InputMask :pt="{
  pcInputText: {
    class: ['xxx'],
  },
}" ... />

// doesnt work, passes xxx as root="xxx" instead of class="xxx"
<InputMask :pt="{
  pcInputText: {
    root: ['xxx'],
  },
}" ... />

// doesnt work, passes as root="[object Object]" instead of class="xxx"
<InputMask :pt="{
  pcInputText: {
    root: {
      class: ['xxx'],
    },
  },
}" ... />

what am I missing

Pull Request Link

#7011

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

been told it works correctly, cant figure out how

Reproducer

https://stackblitz.com/edit/primevue-create-vue-typescript-issue-template-7ceumeeu?file=src%2FApp.vue,src%2Ftheme.ts

Environment

ubuntu

Vue version

3.4.15

PrimeVue version

4.2.5

Node version

20

Browser(s)

No response

Steps to reproduce the behavior

link to reproduction above

Expected behavior

class passed to pcInputText

@laylatichy laylatichy 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 28, 2024
@mertsincan mertsincan added this to the 4.3.0 milestone Jan 6, 2025
@github-project-automation github-project-automation bot moved this to Review in PrimeVue Jan 6, 2025
@mertsincan mertsincan added Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 6, 2025
@tugcekucukoglu tugcekucukoglu self-assigned this Jan 8, 2025
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Jan 8, 2025
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeVue Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
Status: Done
Development

No branches or pull requests

3 participants