primefaces / primefaces/primereact
InputNumber: "stacked" buttons to left side of Input
Open
@habubey is already working on this.
Since Feb 18, 2023.
Status: Discussion
Status: Needs Triage
Type: New Feature
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the feature you would like to see added
InputNumber should allow to show "stacked" buttons to the left or right specified in a prop.
By default when InputNumber has buttonLayout="stacked", buttons will be to the right of Input, and cannot be placed to the left.
Current InputNumber with buttonLayout="stacked":

Expected InputNumber with buttonLayout="stacked" using buttons to left:

Is your feature request related to a problem?
No
Describe the solution you'd like
A prop "buttonsSide" (or similar) with "right"/"left" available values. By default the current "right" should be used.
Expected InputNumber with buttonLayout="stacked" using buttons to left:

Describe alternatives you have considered
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.