luigi
luigi copied to clipboard
User Settings - Input validation
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' }
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.