-
Notifications
You must be signed in to change notification settings - Fork 371
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
Add attribute check on name attribute on base resource #1795
Add attribute check on name attribute on base resource #1795
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Considering we want to move to a dedicated |
@alecritson as we've decided not to make the |
@alecritson will we also need this for Collection editing etc, or does it only affect Products? |
It's already handled on the collection page. |
Currently if the name attribute is just
Text
instead ofTranslatedText
this will fail as the panel is rendering a translated text input, causing the name value to be an array of locales.This PR adds an additional check on the method that fetches the name input so the form data is correct on save.