preskale / issues

0 stars 0 forks source link

Teams, Roles and Hierarchy #167

Open sync-by-unito[bot] opened 1 month ago

sync-by-unito[bot] commented 1 month ago

https://preskale.atlassian.net/browse/BAC-285

https://preskale.atlassian.net/browse/BAC-286

┆Issue is synchronized with this Jira Epic by Unito

sync-by-unito[bot] commented 1 month ago

➤ Senthil Kumar Subramaniam commented:

VISHNU - TEST Teams, Roles and Hierarchy COMMENTS While our contact form works, it’s not quite feature-complete; users can submit it, but it doesn’t tell them which (if any) fields are required.

If we’re okay with using the browser’s built-in HTML input validation, we could add a required prop to each of our inputs, specify minimum/maximum lengths (maxlength and minlength), and/or add a pattern prop for regex validation for each of these inputs. These are great if we can get away with them. However, HTML validation has its limitations. First, it only works in the browser! So this clearly is not viable for React Native. Second, it’s hard/impossible to show custom error messages to our user. Third, it’s very janky.