Page 1 of 1

page-show will not get local storage

Posted: Thu Dec 19, 2013 1:19 pm
by Brian Irr

I have two screens

screen 1 has the following set

on button click, set local storage- variable name= _contact
Bind to component= checked
Target component = mobiletextinput_page1 (this is the input data that is to be stored)

There is a second event that navigates to screen 2 on same button

on Screen 2 I have

on page show

Set property
Component name mobiletextinput3 (were text should load)
Text
Read from local storage= Checked
Variable= _contact

I have tried the above on page load same results
When I try it on a button it will work, but I am looking for it to load when the page loads.

any ideas


page-show will not get local storage

Posted: Thu Dec 19, 2013 1:59 pm
by Maryna Brodina

Hello! Should be working, we've just checked. Please post screenshots of what you do.


page-show will not get local storage

Posted: Thu Dec 19, 2013 2:05 pm
by Brian Irr

That's strange. I tried it multiple times with a few different configurations before I posted to you. An hour latter without changing anything its working.

Works fine


page-show will not get local storage

Posted: Thu Dec 19, 2013 2:14 pm
by Maryna Brodina

Thank you for update! Glad it's working!