batman-ezio opened a new issue #1711:
URL: https://github.com/apache/apisix-dashboard/issues/1711
# Feature request
## currently we only check the name format in route's name,
with below code in frontend
```
{
pattern: new RegExp(/^[a-zA-Z][a-zA-Z0-9_-]{0,100}$/, 'g'),
message: formatMessage({ id:
'page.route.form.itemRulesPatternMessage.apiNameRule' }),
}
```
but in other place, like Upstream, Service ... , we allow to input any chars
## Describe the solution you'd like
extract the rule to global, and apply to all name fields
## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features
you've considered.
## Additional context
Add any other context or screenshots about the feature request here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]