mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
Merge pull request #93 from clintabrown/allow_underscore_in_flag
Allow underscores in name validation
This commit is contained in:
commit
84dae28cf6
@ -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