refactor(front): EditForm summary textarea button
This commit is contained in:
parent
b27d34bbbf
commit
87b0232fac
|
@ -195,7 +195,6 @@ const resetField = (fieldId: string) => {
|
|||
<form style="display: contents;"
|
||||
@submit.prevent="submit()"
|
||||
>
|
||||
<div class="ui hidden divider" />
|
||||
<Alert red
|
||||
v-if="errors.length > 0"
|
||||
role="alert"
|
||||
|
@ -268,7 +267,7 @@ const resetField = (fieldId: string) => {
|
|||
:label="fieldConfig.label"
|
||||
v-model="values[fieldConfig.id].text"
|
||||
:field-id="fieldConfig.id"
|
||||
:rows="3"
|
||||
initialLines="3"
|
||||
/>
|
||||
</template>
|
||||
<!-- TODO: Style Attachment Input -->
|
||||
|
@ -322,13 +321,15 @@ const resetField = (fieldId: string) => {
|
|||
>
|
||||
<Button
|
||||
v-if="objectType === 'track'"
|
||||
low-height
|
||||
secondary
|
||||
raised
|
||||
:to="{name: 'library.tracks.detail', params: {id: object.id }}"
|
||||
>
|
||||
{{ t('components.library.EditForm.button.cancel') }}
|
||||
</Button>
|
||||
</Textarea>
|
||||
<Button
|
||||
:class="['ui', 'right', 'floated', 'success', 'button']"
|
||||
:isLoading="isLoading"
|
||||
primary
|
||||
:disabled="isLoading || !mutationPayload"
|
||||
|
|
Loading…
Reference in New Issue