Skip to content

Can't save matrix entry where name begins with number #293

@thekanbo

Description

@thekanbo

Describe the issue

When creating a new entry, the entry save action will be rejected with the message "The given data was invalid.", errors: {name: ["The name format is invalid."]}}

To reproduce

  • Create a new collection type, with or without an attached fieldset
  • Create and save a new entry, where the first character in the name is a number

Expected behavior

Entry should be allowed to save

Screenshots

If applicable, add screenshots to help explain and show the problem.
image

Bug report checklist

  • I have filled out as much information as I can
  • I have detailed how the issue can be reproduced
  • I have searched for existing issues and to the best of my knowledge this is not a duplicate

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions