manager-ui icon indicating copy to clipboard operation
manager-ui copied to clipboard

Schema App: Dropdown field type does not allow for spaces in value

Open giseleblair opened this issue 2 years ago • 3 comments

When the user selects the Dropdown field type in schema and they are configuring the values for each dropdown option, the UI does not allow the user to have spaces or capital letters in the value field.

The API does allow for capital letters and spaces and so the UI should also allow for the same formatting options.

Screen Shot 2022-09-08 at 2 35 56 PM

giseleblair avatar Sep 08 '22 18:09 giseleblair

Screen Shot 2022-09-14 at 6 22 54 PM

This is what the JSON output looks like with spaces, it does not break the output

giseleblair avatar Sep 14 '22 22:09 giseleblair

@giseleblair Just to confirm, based on the discussion last time I just have to validate the inputted format on the Option value field and allow users to have the freedom for their desired formats right?

JacobDiazCruz avatar Sep 17 '22 03:09 JacobDiazCruz

Yes and do not change spaces into "_" or lowercase capital letters

giseleblair avatar Sep 19 '22 14:09 giseleblair