Show an error message when the component id does not match the regex expression
felipecruz91 opened this issue · 5 comments
Is your feature request related to a problem? Please describe.
When creating a component through the Provisioning app, the component id must comply with this regex expression.
When a user introduces a component id, no message is shown suggesting what is wrong with the component id entered.
Describe the solution you'd like
It would be helpful for the user so see what is wrong in the component id so that it can fix it.
Describe alternatives you've considered
If the user enters a component id with digits, and the regex expression does not allow it, an error should appear below the component id indicating that digits are not allowed as part of the component id.
@netzartist I'd think the new frontend does this?
Maybe the action here is to switch to the new frontend and delete the old frontend?
@michaelsauter @netzartist to delete the old frontend we need to discuss with @metmajer and his team first.
@michaelsauter Yes, the new frontend uses the same regex and shows a more detailed explanation:
@stitakis Let's make a plan to switch to the new frontend.
@stitakis @netzartist Is this going to be shipped as part of 3.1?
@felipecruz91 you introduced an input validation logic for this in the backend. That part is done. However we haven't done it yet in the current UI. Do you have time to take a look at it?