fix: service name validation
This commit is contained in:
parent
9c129acdb4
commit
c27c0b09a9
|
@ -123,7 +123,7 @@ class CollectForm extends Component<Props & WrappedComponentProps> {
|
|||
initialValue: service,
|
||||
rules: [
|
||||
{ required: true },
|
||||
{ pattern: /^[a-zA-Z0-9-]+$/, message: this.props.intl.formatMessage({ id: 'collect.proc.service.pattern.msg' }) },
|
||||
{ pattern: /^[a-zA-Z0-9-_\.]+$/, message: this.props.intl.formatMessage({ id: 'collect.proc.service.pattern.msg' }) },
|
||||
],
|
||||
})}
|
||||
size="default"
|
||||
|
|
Loading…
Reference in New Issue