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

datepicker size attribute has no effect #17253

Open
1 of 4 tasks
Kurti123 opened this issue Dec 30, 2024 · 0 comments
Open
1 of 4 tasks

datepicker size attribute has no effect #17253

Kurti123 opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
Component: Documentation Issue or pull request is related to Documentation
Milestone

Comments

@Kurti123
Copy link

Describe the bug

I'm currently creating a UI with PrimeNG 19 and noticed that the

size="small"

attribute in component has no effect.

<p-datepicker size="small" />
<p-datepicker size="large" />

These two date pickers have the same size.

You can also confirm this error at the component demo: https://primeng.org/datepicker#sizes,

Tested with latest Edge release 130.0.2849.123. I don't have any other browsers available.

Pull Request Link

No response

Reason for not contributing a PR

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

Other Reason

No response

Reproducer

https://primeng.org/datepicker#sizes

Environment

Just a vanilla Angular project

Angular version

19

PrimeNG version

v19

Node version

20

Browser(s)

Microsoft Edge

Steps to reproduce the behavior

Add two components:

Both have the same size.

Expected behavior

The date picker should have different sizes.

@Kurti123 Kurti123 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 30, 2024
@mertsincan mertsincan added Component: Documentation Issue or pull request is related to Documentation 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 30, 2024
@mertsincan mertsincan added this to the 19.0.3 milestone Dec 30, 2024
@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation Issue or pull request is related to Documentation
Projects
Status: Review
Development

No branches or pull requests

3 participants