mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
clean CardForm old disable mecanism
This commit is contained in:
parent
47dfe41264
commit
679cbde646
1 changed files with 1 additions and 7 deletions
|
@ -19,10 +19,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<slot v-if="!noFooter" name="buttons" slot="buttons">
|
<slot v-if="!noFooter" name="buttons" slot="buttons">
|
||||||
<b-button
|
<b-button type="submit" variant="success" :form="id">
|
||||||
type="submit" variant="success"
|
|
||||||
:form="id" :disabled="disabled"
|
|
||||||
>
|
|
||||||
{{ submitText ? submitText : $t('save') }}
|
{{ submitText ? submitText : $t('save') }}
|
||||||
</b-button>
|
</b-button>
|
||||||
</slot>
|
</slot>
|
||||||
|
@ -45,9 +42,6 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
disabled () {
|
|
||||||
return false // this.validation ? this.validation.$invalid : false
|
|
||||||
},
|
|
||||||
errorFeedback () {
|
errorFeedback () {
|
||||||
if (this.serverError) return this.serverError
|
if (this.serverError) return this.serverError
|
||||||
else if (this.validation && this.validation.$anyError) {
|
else if (this.validation && this.validation.$anyError) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue