Disable buttons on submit

Add custom submit buttons component to disable these buttons while image is created
This commit is contained in:
Karel Hala 2021-06-09 16:05:14 +02:00 committed by Sanne Raymaekers
parent dbcd753bb9
commit 902480dab4
5 changed files with 56 additions and 4 deletions

View file

@ -3,7 +3,7 @@ import validatorTypes from '@data-driven-forms/react-form-renderer/validator-typ
import nextStepMapper from './stepMapper';
export const releaseValues = {
'rhel-8': 'Red Hat Enterprise Linux (RHEL) 8.3',
'rhel-8': 'Red Hat Enterprise Linux (RHEL) 8',
'centos-8': 'CentOS Stream 8'
};

View file

@ -1,6 +1,10 @@
import CustomButtons from '../formComponents/CustomSubmitButtons';
export default {
name: 'review',
title: 'Review',
// eslint-disable-next-line react/display-name
buttons: CustomButtons,
fields: [
{
name: 'review',