1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-25 05:21:30 +00:00
bramw_baserow/web-frontend/modules/builder/components/form/BuilderForm.vue

35 lines
756 B
Vue

<template>
<ApplicationForm
:default-values="{ name: defaultName }"
@submitted="$emit('submitted', $event)"
>
<div class="actions actions--right">
<button
class="button button--large"
:class="{ 'button--loading': loading }"
:disabled="loading"
type="submit"
>
{{ $t('builderForm.submit') }}
</button>
</div>
</ApplicationForm>
</template>
<script>
import ApplicationForm from '@baserow/modules/core/components/application/ApplicationForm'
export default {
name: 'BuilderForm',
components: { ApplicationForm },
props: {
defaultName: {
type: String,
required: true,
},
loading: {
type: Boolean,
required: true,
},
},
}
</script>