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

InputText: unstyled on CDN #5709

Open
trajano opened this issue May 8, 2024 · 5 comments
Open

InputText: unstyled on CDN #5709

trajano opened this issue May 8, 2024 · 5 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@trajano
Copy link

trajano commented May 8, 2024

Describe the bug

Using primevue on CDN, the inputtext remains unstyled the others like calendar seem to work

Reproducer

https://jsfiddle.net/970nwp6e/2/

PrimeVue version

3.52

Vue version

3.x

Language

ES5

Build / Runtime

Vue CLI App

Browser(s)

Firefox, Microsoft Edge

Steps to reproduce the behavior

  1. go to https://jsfiddle.net/970nwp6e/2/
  2. Click RUN

Expected behavior

I expect the text field to be styled.

@trajano trajano added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 8, 2024
@trajano
Copy link
Author

trajano commented May 8, 2024

@trajano
Copy link
Author

trajano commented May 8, 2024

FYI it worked on 3.12.6

https://jsfiddle.net/3r0m7ntL/

@trajano
Copy link
Author

trajano commented May 8, 2024

Just did a few experiments

Things started breaking around 3.30.2
image

Things up to 3.29.2 still align correctly

image

@trajano
Copy link
Author

trajano commented May 8, 2024

The problem is if I downgrade that far the p-calendar does not allow manual input which was what prompted the upgrade in the first place.

@trajano
Copy link
Author

trajano commented May 8, 2024

I eventually worked around it by locking the input text and only inputtext to 3.29.2
<script src="//cdn.jsdelivr.net/npm/primevue@3.29.2/inputtext/inputtext.js"></script>

Which allowed me to get the fix for the p-calendar while retaining the theming of inputtext

https://jsfiddle.net/gt3nkL51/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant