mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix #591
This commit is contained in:
parent
dcc933ca3a
commit
3d49d0796d
@ -144,7 +144,7 @@ describe('GddSend', () => {
|
||||
})
|
||||
|
||||
it('has the text "form.cancel"', () => {
|
||||
expect(wrapper.find('button[type="reset"]').text()).toBe('form.reset')
|
||||
expect(wrapper.find('button[type="reset"]').find('svg').attributes('aria-label')).toBe('trash')
|
||||
})
|
||||
|
||||
it('clears all fields on click', async () => {
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
class="pl-3"
|
||||
></b-form-input>
|
||||
</b-input-group>
|
||||
<b-col v-if="errors" class="text-right p-3 p-sm-1">
|
||||
<b-col v-if="errors">
|
||||
<span v-for="error in errors" :key="error" class="errors">{{ error }}</span>
|
||||
</b-col>
|
||||
</validation-provider>
|
||||
@ -78,7 +78,7 @@
|
||||
class="pl-3"
|
||||
></b-form-input>
|
||||
</b-input-group>
|
||||
<b-col v-if="errors" class="col-12 text-right p-3 p-sm-1">
|
||||
<b-col v-if="errors">
|
||||
<span v-for="error in errors" class="errors" :key="error">{{ error }}</span>
|
||||
</b-col>
|
||||
</validation-provider>
|
||||
@ -106,7 +106,7 @@
|
||||
class="pl-3"
|
||||
></b-form-textarea>
|
||||
</b-input-group>
|
||||
<b-col v-if="errors" class="text-right p-3 p-sm-1">
|
||||
<b-col v-if="errors">
|
||||
<span v-for="error in errors" class="errors" :key="error">{{ error }}</span>
|
||||
</b-col>
|
||||
</validation-provider>
|
||||
@ -116,7 +116,7 @@
|
||||
<b-row>
|
||||
<b-col>
|
||||
<b-button type="reset" variant="secondary" @click="onReset">
|
||||
{{ $t('form.reset') }}
|
||||
<b-icon icon="trash" class="mb-2" />
|
||||
</b-button>
|
||||
</b-col>
|
||||
<b-col class="text-right">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user