Files
baserow/web-frontend/modules/builder/components/workflowAction/NotificationWorkflowActionForm.vue
Tsering Paljor 674e4b12a8 feat: Add markdown support to more Builder elements (#6124)
* WIP

* Remove formula conversion related changes

* Move the file input click guard to formatted text component

* Move format types into their own components

* Use a shared markdown-it instance

* Move the formatter into data explorer

* Move minification logic into BaserowFormulaMinified

* Renderer should own the root element

* Ensure long choice names are truncated

* Ensure line height doesn't grow for paragraphs

* Add tests

* Add changelog

* Add specific tests for choice element
2026-10-09 09:36:32 +04:00

50 lines
1.3 KiB
Vue

<template>
<form @submit.prevent="submit">
<FormGroup
small-label
:label="$t('notificationWorkflowActionForm.titleLabel')"
class="margin-bottom-2"
>
<InjectedFormulaInput
v-model="values.title"
:placeholder="$t('notificationWorkflowActionForm.titlePlaceholder')"
:allowed-formats="allowedFormats"
/>
</FormGroup>
<FormGroup
small-label
:label="$t('notificationWorkflowActionForm.descriptionLabel')"
class="margin-bottom-2"
>
<InjectedFormulaInput
v-model="values.description"
:placeholder="
$t('notificationWorkflowActionForm.descriptionPlaceholder')
"
:allowed-formats="allowedFormats"
/>
</FormGroup>
</form>
</template>
<script>
import form from '@baserow/modules/core/mixins/form'
import InjectedFormulaInput from '@baserow/modules/core/components/formula/InjectedFormulaInput'
import { BASEROW_FORMULA_FORMATS } from '@baserow/modules/core/formula/constants'
export default {
name: 'NotificationWorkflowActionForm',
components: { InjectedFormulaInput },
mixins: [form],
data() {
return {
values: {
title: {},
description: {},
},
allowedFormats: BASEROW_FORMULA_FORMATS,
}
},
}
</script>