You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a simple text field in multiple languages, and I empty the value of the text field in all languages, the Vorto JS breaks when publishing twice in a row.
Steps:
Open the JS console :)
In a Vorto datatype wrapping a simple text field, clean out all values in all languages and hit save and publish.
Hit save and publish again.
The console logs JS errors.
I think it's the assignment of undefined that causes the issue. If you replace undefined with {}, it seems to work just fine.
The text was updated successfully, but these errors were encountered:
If I have a simple text field in multiple languages, and I empty the value of the text field in all languages, the Vorto JS breaks when publishing twice in a row.
Steps:
I think it's the assignment of
undefined
that causes the issue. If you replaceundefined
with{}
, it seems to work just fine.The text was updated successfully, but these errors were encountered: