Add record picker in form action (#11331)

Record picker becomes a form field that could be used in another context
than workflows.

Settings
<img width="488" alt="Capture d’écran 2025-04-02 à 10 55 53"
src="https://github.com/user-attachments/assets/a9fc09ff-28cd-4ede-8aaa-af1e986cda8e"
/>

Execution
<img width="936" alt="Capture d’écran 2025-04-02 à 10 57 36"
src="https://github.com/user-attachments/assets/d796aeeb-cae1-4e59-b388-5b8d08739ea8"
/>
This commit is contained in:
Thomas Trompette
2025-04-02 17:08:33 +02:00
committed by GitHub
parent 2bc9691021
commit 7488c6727a
21 changed files with 400 additions and 154 deletions

View File

@ -92,6 +92,7 @@ export const workflowFormActionSettingsSchema =
type: z.union([
z.literal(FieldMetadataType.TEXT),
z.literal(FieldMetadataType.NUMBER),
z.literal('RECORD'),
]),
placeholder: z.string().optional(),
settings: z.record(z.any()).optional(),