Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion schemas/json/validation/validation.schema.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"message": {
"title": "Validation message",
"description": "The message to display when the validation fails.",
"type": "string"
"$ref": "../layout/expression.schema.v1.json#/definitions/string"
},
"condition": {
"title": "Expression returning a boolean value",
Expand Down
2 changes: 1 addition & 1 deletion src/features/formData/FormDataWrite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ export const FD = {

const paths: string[] = [];
collectMatchingFieldPaths(formData, reference.field.split('.'), '', 0, paths);
return paths.length === 0 ? [reference.field] : paths.sort();
return paths.sort();
});
},

Expand Down