File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @gitbook/integration-formspree ' : patch
3
+ ---
4
+
5
+ Update types in formspree integration to render email field correctly
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ configurations:
28
28
properties :
29
29
formspree_id :
30
30
type : string
31
- title : Formspree endpoint
32
- description : The endpoint your formspree lives at .
31
+ title : Formspree ID
32
+ description : The ID of your formspree form. Copy this from the settings page of your formspree form .
33
33
email :
34
34
type : boolean
35
35
title : Email
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ const formspreeBlock = createComponent<
64
64
label = "Email"
65
65
element = {
66
66
< textinput
67
- inputType = "email "
67
+ inputType = "text "
68
68
state = "email"
69
69
placeholder = "Your email"
70
70
/>
@@ -78,7 +78,13 @@ const formspreeBlock = createComponent<
78
78
< box grow = { 1 } >
79
79
< input
80
80
label = "Name"
81
- element = { < textinput state = "name" placeholder = "Your name" /> }
81
+ element = {
82
+ < textinput
83
+ state = "name"
84
+ placeholder = "Your name"
85
+ inputType = "text"
86
+ />
87
+ }
82
88
/>
83
89
</ box >
84
90
) : null }
@@ -93,6 +99,7 @@ const formspreeBlock = createComponent<
93
99
element = {
94
100
< textinput
95
101
state = "message"
102
+ inputType = "text"
96
103
placeholder = "Your message"
97
104
multiline = { true }
98
105
/>
You can’t perform that action at this time.
0 commit comments