Skip to content

Commit

Permalink
Also set button types on TableArrayControl
Browse files Browse the repository at this point in the history
  • Loading branch information
joefreeman committed Mar 8, 2024
1 parent e590f96 commit b215b74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vanilla-renderers/src/complex/TableArrayControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class TableArrayControl extends React.Component<
<header>
<label className={labelClass}>{label}</label>
<button
type='button'
className={buttonClass}
onClick={addItem(path, createDefaultValue(schema, rootSchema))}
>
Expand Down Expand Up @@ -214,6 +215,7 @@ class TableArrayControl extends React.Component<
</td>
<td>
<button
type='button'
aria-label={translations.removeAriaLabel}
onClick={() => {
if (
Expand Down

0 comments on commit b215b74

Please sign in to comment.