Steps to reproduce:
- Go to Content > Dynamic Data Lists > Add a New Data Definition.
- Add a text field to it.
- Click the text field > Settings, edit name to —— or - and save.
—— and - can not be saved and have a message: Please enter only alphanumeric characters or underscore. Only _ can be saved.
—— and - can be saved.