10-12-2017 10:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-12-2017 10:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I have a very simple TextInput right now:
<TextInput settingsKey='code' label='Code' />
In my companion code on the settingsStorage.change event, the event key is correct ("code"), however the newValue returns a JSON string "{"name":"1234"}" instead of the expected value "1234". Is this expected behavior?
Answered! Go to the Best Answer.
Accepted Solutions
10-18-2017 16:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-18-2017 16:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
It's a known issue and we'll be looking to fix this in the future.
10-18-2017 16:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


10-18-2017 16:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
It's a known issue and we'll be looking to fix this in the future.
09-16-2018 17:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-16-2018 17:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Is this fixed?

09-16-2018 17:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-16-2018 17:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Is there a workaround?

12-30-2018 08:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

12-30-2018 08:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am using this workaround
<TextInput label="IP:PORT" value={props.settings.address} onChange={value => props.settingsStorage.setItem('address', value.name)} />

04-13-2019 13:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-13-2019 13:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Still not working correctly?
08-17-2021 17:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-17-2021 17:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Has it been fixed with SDK 6? SDK 4.3 still has this issue especially using a for loop for multiple contacts
[ '{"name":"+"}', '+1212', '+1212', '+1212' ]
Where the first retrieved has this issue and then the rest don't. It creates a consistency issue.
08-17-2021 17:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-17-2021 17:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Using .name on those values returns null, because it should be ."name" which returns a error

