luigi icon indicating copy to clipboard operation
luigi copied to clipboard

User Settings - Input validation

Open JohannesDoberer opened this issue 4 years ago • 1 comments

As a first step we need to find out which input validation are allowed within SAP. Are there any recommendations or guidelines.

Second step: Extend the user settings schema to use the input validation.

We could add a regex in:

settings: { name: { type: 'string', label: 'Name', isEditable: true, mask:'Regex' }

JohannesDoberer avatar Dec 07 '20 07:12 JohannesDoberer

Talked to FD Styles team and DXP Designers, there are no functional rules of how make the validation. So the REGEX seems like the most appropriate. Here is a spec which might help a bit: https://wiki.wdf.sap.corp/wiki/pages/viewpage.action?pageId=2371276621#InputField(Fiori3)%E2%80%93Suggestion-TabularSuggestion

DXP UX people will start next week the design of the input help text, to help the user understand which symbols are forbidden/allowed.

UlianaMunich avatar Oct 22 '21 07:10 UlianaMunich