FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Number Input (validation) by Nico-DF · Pull Request #849 · spring-projects/spring-shell · GitHub

Add Number Input (validation) - #849

Closed
Nico-DF wants to merge 2 commits into
spring-projects:mainfrom
Nico-DF:feature/input-number
Closed

Add Number Input (validation)#849
Nico-DF wants to merge 2 commits into
spring-projects:mainfrom
Nico-DF:feature/input-number

Conversation

Nico-DF commented Aug 7, 2023

Copy link
Copy Markdown
Contributor

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)

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

kieronedwards commented May 2, 2024
edited
Loading

Copy link
Copy Markdown

@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

huyuanxin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Copy link
Copy Markdown
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 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 added this to the 4.0.0 milestone Apr 25, 2025
Nico-DF force-pushed the feature/input-number branch from 24f267a to fc1febf Compare April 25, 2025 13:29
Nico-DF changed the base branch from 2.1.x to main April 25, 2025 13:29
Nico-DF force-pushed the feature/input-number branch 3 times, most recently from cf89d78 to ce584d3 Compare April 25, 2025 13:41

Nico-DF commented Apr 25, 2025

Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
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 removed the status/need-feedback Calling participant to provide feedback label Oct 30, 2025

Copy link
Copy Markdown
Contributor

Hi @Nico-DF

I think we can proceed and merge this PR now. Can you please rebase it on the latest main?

Please exclude the changes in samples, they are outdated.

Thank you upfront.

Signed-off-by: Nicola Di Falco <difalco.nicola@gmail.com>
Signed-off-by: Nicola Di Falco <difalco.nicola@gmail.com>
Nico-DF force-pushed the feature/input-number branch from ce584d3 to 50691a8 Compare November 27, 2025 15:41

Nico-DF commented Nov 27, 2025

Copy link
Copy Markdown
Contributor Author

Aaand also done. I'll check if there is any issue more likely tomorrow

Copy link
Copy Markdown
Contributor

Thank you for the updates! Rebased and merged. Thank you for your contribution 👍

fmbenhassine modified the milestones: 4.0.0, 4.0.0-M2 Nov 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL