Custom validation error message for input not working in Backstage
I am creating a custom template for creating a GitHub repository, I have added a regex which should accept a specific kind of string input. But when the validation fails, I get a different error. How do I get the error message working?