diff --git a/src/components/main/NewItemModal.tsx b/src/components/main/NewItemModal.tsx index e5a751422..8ad0c8c94 100644 --- a/src/components/main/NewItemModal.tsx +++ b/src/components/main/NewItemModal.tsx @@ -195,6 +195,7 @@ const NewItemModal = ({ open, handleClose }: Props): JSX.Element => { onClick={submitEtherpad} id={ITEM_FORM_CONFIRM_BUTTON_ID} disabled={!padName} + type="submit" > {translateBuilder(BUILDER.CREATE_ITEM_ADD_BUTTON)} @@ -214,6 +215,7 @@ const NewItemModal = ({ open, handleClose }: Props): JSX.Element => { isConfirmButtonDisabled || !isItemValid(updatedPropertiesPerType[selectedItemType]) } + type="submit" > {translateBuilder(BUILDER.CREATE_ITEM_ADD_BUTTON)}