Skip to content

Commit

Permalink
update dynamic form label-col (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
QSummerY authored Sep 6, 2023
1 parent 6c73a8d commit 6a11290
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/components/FormWidgets/CheckBoxInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a-form-item
:label="label || name"
:extra="extra"
:label-col="{ span: 5 }"
:label-col="{ span: 7 }"
:wrapper-col="{ span: 12 }"
>
<a-checkbox
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/FormWidgets/NumberInput.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<a-form-item
:label="label"
:label-col="{ span: 5 }"
:label-col="{ span: 7 }"
:wrapper-col="{ span: 12 }"
>
<a-input
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/FormWidgets/SelectInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a-form-item
:label="label || name"
:extra="extra"
:label-col="{ span: 5 }"
:label-col="{ span: 7 }"
:wrapper-col="{ span: 12 }"
>
<v-select
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/FormWidgets/TextInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a-form-item
:label="label || name"
:extra="extra"
:label-col="{ span: 5 }"
:label-col="{ span: 7 }"
:wrapper-col="{ span: 12 }"
>
<a-textarea
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/HForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@input="handleInput">
</dynamic-form>
<a-form-item
:wrapper-col="{ span: 12, offset: 5 }"
:wrapper-col="{ span: 12, offset: 7 }"
>
<a-button type="primary" :disabled="!canSubmit" @click="handleSubmit">Submit</a-button>
<a-modal
Expand Down

0 comments on commit 6a11290

Please sign in to comment.