Skip to content

Conversation

@Nico-DF
Copy link

@Nico-DF Nico-DF commented Aug 7, 2023

Adding a new type of input: NumberInput

It defaults to Integer and is basically a StringInput with a validation (similar to ConfirmInput)

  • You can specify any number class
  • Accept any format recognized by java from string (.5; 1.6e-3;...)
  • Can be required (non-null)

component-number-input-1

component-flow-showcase-1

image

@Nico-DF Nico-DF force-pushed the feature/input-number branch from bbfcee4 to c98d203 Compare August 7, 2023 12:03
@kieronedwards
Copy link

kieronedwards commented May 2, 2024

@jvalkeal this looks like a good addition - any reason why it has not been merged ? Or is there a way we can add custom input handlers

Copy link

@huyuanxin huyuanxin left a comment

Choose a reason for hiding this comment

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

It looks great, could you please merge this pr? @jvalkeal

@fmbenhassine
Copy link
Contributor

This is a nice addition indeed! I will plan it for the next major release 4.0.

Can you please update and rebase the PR on the latest main first? I will take a look in more details once updated.

Thank you upfront.

@fmbenhassine fmbenhassine added status/need-feedback Calling participant to provide feedback type/feature Is a feature request area/components Belongs ui components labels Apr 25, 2025
@fmbenhassine fmbenhassine added this to the 4.0.0 milestone Apr 25, 2025
@Nico-DF Nico-DF force-pushed the feature/input-number branch from 24f267a to fc1febf Compare April 25, 2025 13:29
@Nico-DF Nico-DF changed the base branch from 2.1.x to main April 25, 2025 13:29
@Nico-DF Nico-DF force-pushed the feature/input-number branch 2 times, most recently from c8a2a99 to cf89d78 Compare April 25, 2025 13:37
Nico-DF added 2 commits April 25, 2025 15:40
Signed-off-by: Nicola Di Falco <[email protected]>
Signed-off-by: Nicola Di Falco <[email protected]>
@Nico-DF Nico-DF force-pushed the feature/input-number branch from cf89d78 to ce584d3 Compare April 25, 2025 13:41
@Nico-DF
Copy link
Author

Nico-DF commented Apr 25, 2025

This is a nice addition indeed! I will plan it for the next major release 4.0.

Can you please update and rebase the PR on the latest main first? I will take a look in more details once updated.

Thank you upfront.

Updated, but I couldn't rengenerate properly antora nor regenerate some asciinema (no WSL/linux at disposal), so did the best I can rn

@fmbenhassine
Copy link
Contributor

No problem, I will take care of that.

Thank you for the updates! I will check in details once we start working on v4.

@fmbenhassine fmbenhassine removed the status/need-feedback Calling participant to provide feedback label Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/components Belongs ui components type/feature Is a feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants