UI5 / UI5/webcomponents

Separate NumberInput Component

Open
#4,353 10 comments 0 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

feature request Medium Prio New Component TOPIC RL
Dominant language
TypeScript
Stars
1.8k
Forks
285
Avg merge
3d 2h
Merged PRs (30d)
59

Description

Feature Request Description

Several issues regarding the input type=number component have come up:

  • #4209
  • #4340
  • #4341

Since numbers do play an important role in any SAP system, this component should work reliably.

However, right now there is even documentation lacking => there's no way to try out / play around with such a component in your documentation. It's completely subsumed under the input component.

All of this leads me to the consideration that it could be worthwhile to create an own number component, which would also solve the issue of different attributes which are valid for any text input vs number input

  • maxLength vs min/max
  • step
  • ...
Proposed Solution

Make an own component for number inputs!

Proposed Alternatives

Extend the documentation to have an example of an input type=number, so that people can try it out.

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.