Add basic UUID support to filters (#12676)

- Only operands IS
- Do not set filter when no valid uuids or variables
- Allow ID field to be filterable despite being system



https://github.com/user-attachments/assets/e1c67103-728f-4798-91c6-4aea162f8698

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Thomas Trompette
2025-06-17 14:58:50 +02:00
committed by GitHub
parent 01a69f6288
commit fb9d5066dc
9 changed files with 59 additions and 2 deletions

View File

@ -34,6 +34,7 @@ export const shouldDisplayFormField = ({
actionType: WorkflowActionType;
}) => {
let isTypeAllowedForAction = false;
const isIdField = fieldMetadataItem.name === 'id';
switch (actionType) {
case 'CREATE_RECORD':
@ -57,7 +58,7 @@ export const shouldDisplayFormField = ({
return (
isTypeAllowedForAction &&
!fieldMetadataItem.isSystem &&
(!fieldMetadataItem.isSystem || isIdField) &&
fieldMetadataItem.isActive
);
};