1
0
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:
Ivar Conradi Østhus 2017-09-19 07:44:45 +02:00 committed by GitHub
commit 84dae28cf6

View File

@ -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}
/>