1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-22 07:42:36 +00:00
bramw_baserow/web-frontend/modules/builder/components/form/BuilderForm.vue
2024-04-15 11:29:17 +00:00

36 lines
720 B
Vue

<template>
<ApplicationForm
:default-values="{ name: defaultName }"
@submitted="$emit('submitted', $event)"
>
<div class="actions actions--right">
<Button
type="primary"
size="large"
:loading="loading"
:disabled="loading"
>
{{ $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>