mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
Allow underscores in name validation
This commit is contained in:
parent
8273eef821
commit
5388aeded9
@ -128,7 +128,7 @@ class AddStrategy extends Component {
|
||||
name="name"
|
||||
required
|
||||
disabled={editmode}
|
||||
pattern="^[0-9a-zA-Z\.\-]+$"
|
||||
pattern="^[0-9a-zA-Z\.\-\_]+$"
|
||||
onChange={({ target }) => setValue('name', trim(target.value))}
|
||||
value={input.name}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user