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:
@ -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
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user