File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,15 @@ export default ({ onSubmit, city }) => {
37
37
} }
38
38
>
39
39
< p >
40
- If you are not conformable showing your photo and link please put `QueerJS` in the Github
41
- Username input
40
+ If you're not comfortable showing your photo and link please put `QueerJS` in the ` Github
41
+ Username` input field.
42
42
</ p >
43
43
< label htmlFor = "name" >
44
- Name
44
+ Your Name
45
45
< input
46
46
required
47
47
id = "name"
48
+ placeholder = "Name"
48
49
type = "text"
49
50
minLength = "2"
50
51
value = { name }
@@ -57,8 +58,10 @@ export default ({ onSubmit, city }) => {
57
58
required
58
59
id = "gh"
59
60
type = "text"
61
+ placeholder = "QueerJS"
60
62
pattern = "[A-Za-z0-9-]{1,30}"
61
63
value = { gh }
64
+ onInvalid = { e => e . target . setCustomValidity ( `Your username, e.g. 'QueerJS' for 'https://github.com/queerjs'` ) }
62
65
onChange = { e => setGH ( e . target . value . trim ( ) ) }
63
66
/>
64
67
</ label >
You can’t perform that action at this time.
0 commit comments