@@ -252,7 +252,7 @@ const StaffDrawer: React.FC<StaffModalProps> = ({
schema={schema}
onFinish={onFinish}
onMount={onMount}
- readOnly={type === ModalType.PREVIEW ? true : null}
+ readOnly={type === ModalType.PREVIEW ? true : false}
widgets={{ site: SiteInput }}
watch={watch}
/>
@@ -125,7 +125,7 @@ const DetailModal: React.FC<ProjectModalProps> = ({
form={form}
)}
</TabPane>