Update NewDocumentSize component to set default 'infiniteHeight' property to false, enhancing form initialization.
This commit is contained in:
parent
01be1ab29a
commit
6d85d98a50
@ -5,7 +5,10 @@ import WizardView from '../../common/WizardView'
|
||||
|
||||
const NewDocumentSize = ({ onOk, defaultValues }) => {
|
||||
return (
|
||||
<NewObjectForm type={'documentSize'} defaultValues={{ ...defaultValues }}>
|
||||
<NewObjectForm
|
||||
type={'documentSize'}
|
||||
defaultValues={{ infiniteHeight: false, ...defaultValues }}
|
||||
>
|
||||
{({ handleSubmit, submitLoading, objectData, formValid }) => {
|
||||
const steps = [
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user