primefaces / primefaces/primereact

InputNumber: "stacked" buttons to left side of Input

Open
#4,069 1 comment 0 reactions 2 assignees View on GitHub

@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":

image

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

image

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:

image

Describe alternatives you have considered

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.