Form action field base settings (#11035)

- Add settings for text and number fields
- Settings are for now the same but I still separated with two
components because they will evolve


https://github.com/user-attachments/assets/96b7fffd-c3a1-45b9-aeaa-45d63505de3c
This commit is contained in:
Thomas Trompette
2025-03-19 18:44:02 +01:00
committed by GitHub
parent 8b513a7d3b
commit 7b0bf7c4b0
12 changed files with 481 additions and 24 deletions

View File

@ -4,12 +4,12 @@ import { FormFieldInputRowContainer } from '@/object-record/record-field/form-ty
import { TextVariableEditor } from '@/object-record/record-field/form-types/components/TextVariableEditor';
import { useTextVariableEditor } from '@/object-record/record-field/form-types/hooks/useTextVariableEditor';
import { VariablePickerComponent } from '@/object-record/record-field/form-types/types/VariablePickerComponent';
import { InputErrorHelper } from '@/ui/input/components/InputErrorHelper';
import { InputHint } from '@/ui/input/components/InputHint';
import { InputLabel } from '@/ui/input/components/InputLabel';
import { parseEditorContent } from '@/workflow/workflow-variables/utils/parseEditorContent';
import { useId } from 'react';
import { isDefined } from 'twenty-shared';
import { InputErrorHelper } from '@/ui/input/components/InputErrorHelper';
import { InputHint } from '@/ui/input/components/InputHint';
type FormTextFieldInputProps = {
label?: string;

View File

@ -1,7 +1,10 @@
import styled from '@emotion/styled';
import { Editor, EditorContent } from '@tiptap/react';
const StyledEditor = styled.div<{ multiline?: boolean; readonly?: boolean }>`
const StyledEditor = styled.div<{
multiline?: boolean;
readonly?: boolean;
}>`
width: 100%;
display: flex;
box-sizing: border-box;