spring-shell icon indicating copy to clipboard operation
spring-shell copied to clipboard

Add Number Input (validation)

Open Nico-DF opened this issue 2 years ago • 1 comments
trafficstars

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 avatar Aug 07 '23 12:08 Nico-DF

@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

kieronedwards avatar May 02 '24 00:05 kieronedwards