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
When you try to update the array if you want to add new key to it it trows exception 'Update method has an off key', is there a way to add function to be able to add new keys with update method?
Example i have array stored like this
[
{
"key": "javascript",
"ru": {
"value": "ru_RU"
},
"bg": {
"value": "bg_BG"
},
"cs": {
"value": "cs_CZ",
},
"de": {
"value": "de_DE"
}
}
]
On Thu, 21 May 2020, 12:45 Alexander, ***@***.***> wrote:
When you try to update the array if you want to add new key to it it trows
exception 'Update method has an off key', is there a way to add function to
be able to add new keys with update method?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#25>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC4YZGHRTZKQDKVLVEA6OKDRSUH5VANCNFSM4NGYWNVA>
.
When you try to update the array if you want to add new key to it it trows exception 'Update method has an off key', is there a way to add function to be able to add new keys with update method?
Example i have array stored like this
[
{
"key": "javascript",
"ru": {
"value": "ru_RU"
},
"bg": {
"value": "bg_BG"
},
"cs": {
"value": "cs_CZ",
},
"de": {
"value": "de_DE"
}
}
]
now i want to update it to add new lang to be so
[
{
"key": "javascript",
"ru": {
"value": "ru_RU"
},
"bg": {
"value": "bg_BG"
},
"cs": {
"value": "cs_CZ"
},
"de": {
"value": "de_DE"
},
"fr": {
"value": "fr_FR"
}
}
]
The text was updated successfully, but these errors were encountered: