File tree 2 files changed +6
-0
lines changed
packages/vanilla-renderers/src/complex
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ class TableArrayControl extends React.Component<
111
111
< header >
112
112
< label className = { labelClass } > { label } </ label >
113
113
< button
114
+ type = 'button'
114
115
className = { buttonClass }
115
116
onClick = { addItem ( path , createDefaultValue ( schema , rootSchema ) ) }
116
117
>
@@ -214,6 +215,7 @@ class TableArrayControl extends React.Component<
214
215
</ td >
215
216
< td >
216
217
< button
218
+ type = 'button'
217
219
aria-label = { translations . removeAriaLabel }
218
220
onClick = { ( ) => {
219
221
if (
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ export const ArrayControl = ({
96
96
< header >
97
97
< label className = { labelClass } > { label } </ label >
98
98
< button
99
+ type = 'button'
99
100
className = { buttonClassAdd }
100
101
onClick = { addItem ( path , createDefaultValue ( schema , rootSchema ) ) }
101
102
>
@@ -118,6 +119,7 @@ export const ArrayControl = ({
118
119
/>
119
120
< div className = { childControlsClass } >
120
121
< button
122
+ type = 'button'
121
123
className = { buttonClassUp }
122
124
aria-label = { translations . upAriaLabel }
123
125
onClick = { ( ) => {
@@ -127,6 +129,7 @@ export const ArrayControl = ({
127
129
{ translations . up }
128
130
</ button >
129
131
< button
132
+ type = 'button'
130
133
className = { buttonClassDown }
131
134
aria-label = { translations . downAriaLabel }
132
135
onClick = { ( ) => {
@@ -136,6 +139,7 @@ export const ArrayControl = ({
136
139
{ translations . down }
137
140
</ button >
138
141
< button
142
+ type = 'button'
139
143
className = { buttonClassDelete }
140
144
aria-label = { translations . removeAriaLabel }
141
145
onClick = { ( ) => {
You can’t perform that action at this time.
0 commit comments