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

Fix #5283: InputText size TS fix #5284

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Conversation

melloware
Copy link
Member

Fix #5283: InputText size TS fix

@melloware melloware added the Core Team Issue or pull request has been *opened* by a member of Core Team label Nov 10, 2023
Copy link

vercel bot commented Nov 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primereact ⬜️ Ignored (Inspect) Visit Preview Nov 10, 2023 5:54pm

/**
* Size of the input.
*/
size?: number | string | undefined;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concern about allowing string is the Liskov Substitution Principle. Although, short term I agree it solves the problem.

@melloware melloware merged commit 5ebccbf into primefaces:master Nov 10, 2023
4 checks passed
@melloware melloware deleted the PR5283 branch November 10, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Team Issue or pull request has been *opened* by a member of Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InputText inherits size from HTMLInputElement and size is number
2 participants