Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The dash symbol in the widget id #90

Closed
katspaugh opened this issue Apr 21, 2016 · 1 comment
Closed

The dash symbol in the widget id #90

katspaugh opened this issue Apr 21, 2016 · 1 comment

Comments

@katspaugh
Copy link

There seems to be a bug with widgets that have a dash in their id.

I created a custom widget with the id design-preview and used it in a newly created content type. When I tried to save the content type, it gave me an error. Looking at the network panel of Chrome's dev tools revealed, that the server responded with an error: Incorrect widget. Id doesn't match the regex [A-Za-z0-9]. When I changed the id of the widget to design, I was finally able to save the content type.

Since some of the examples in this repo have a dash in their id, I suggest this symbol should be allowed in the widget id.

@katspaugh katspaugh changed the title Dash in the widget id The dash symbol in the widget id Apr 21, 2016
@katspaugh
Copy link
Author

Duplicate of #86.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant