Browse Source

fix(gui-v2): incorrect a-form structure

pull/2795/head
Wing-Kam Wong 2 years ago
parent
commit
0502d82e05
  1. 12
      packages/nc-gui-v2/components/dlg/FileImport.vue

12
packages/nc-gui-v2/components/dlg/FileImport.vue

@ -165,12 +165,10 @@ const handleSubmit = () => {
Url Url
</span> </span>
</template> </template>
<div class="pl-10 pr-10 pb-10 pt-5"> <div class="pl-10 pr-10 pt-5">
<a-form ref="formValidator" layout="vertical" :model="form"> <a-form :model="importState" name="quick-import-url-form" layout="horizontal" class="mb-0">
<a-form-item ref="form" :model="importState" name="quick-import-url-form" layout="horizontal" class="mb-0"> <a-form-item :label="importMeta.urlInputLabel" v-bind="validateInfos.url">
<a-form-item :label="importMeta.urlInputLabel" v-bind="validateInfos.url"> <a-input v-model:value="importState.url" size="large" />
<a-input v-model:value="importState.url" size="large" />
</a-form-item>
</a-form-item> </a-form-item>
</a-form> </a-form>
</div> </div>
@ -184,4 +182,4 @@ const handleSubmit = () => {
overflow: auto; overflow: auto;
height: 300px; height: 300px;
} }
</style> </style>

Loading…
Cancel
Save