Skip to content

Preserve whitespaces on relation fields

What I'm trying to prevent, is that when we have a document with leading/trailing space

image

and it's set in a relation image

just clicking save will complain that document is not found

image

this is because validator have stripped whitespace and search for "leading and trailing space" - and find nothing (unless title is a keyword key, but that's another story )

Merge request reports