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