Page 2 of 3
Challenges with Select component - values change back to 1st value in list
Posted: Mon Nov 17, 2014 4:50 pm
by Andrew Davidsburg
Thanks a lot Bruce,
Got a chance to jump into this over the weekend and still can't figure out what the hell is triggering it, but I added a little snippet to swich it back after the service is successfull. Not perfect but it works. Thanks for the help, good luck with your app!
-Andrew
Challenges with Select component - values change back to 1st value in list
Posted: Mon Nov 17, 2014 8:45 pm
by Bruce Stuart
Andrew ..... thanks for the update.... best of luck to you as well....
We did not yet hear back from Mayna or anyone else from Appery on this topic. Can you folks tell us what your perspective on this issue is?
Do you need more information? Can you reproduce the issue we are having? Is this slated to be fixed? and if so - when?
do Andrew or I need to repost this issue in order to get these questions answered?
Thanks much!
Bruce
Challenges with Select component - values change back to 1st value in list
Posted: Thu Nov 20, 2014 3:46 pm
by Andrew Davidsburg
Just wanted to check in again and see if there was any info from Appery on this? As Bruce said above, happy to provide more info if you need.
Challenges with Select component - values change back to 1st value in list
Posted: Thu Nov 20, 2014 5:47 pm
by Bruce Stuart
Andrew, reposted this as it's similar to another issue I'm having. Thanks for the reminder & persitense! Bruce
Challenges with Select component - values change back to 1st value in list
Posted: Fri Nov 21, 2014 12:52 am
by Yurii Orishchuk
Hello,
Unfortunatly could not to reproduce this problem in my app.
Please give us app public link and describe steps to reproduce this problem in your app.
Regards.
Challenges with Select component - values change back to 1st value in list
Posted: Fri Dec 05, 2014 3:36 pm
by Andrew Davidsburg
Hi Bruce,
I don't know if this applies to you, but I figured out what the issue was and why my menus were resetting. In the Appery.js file there is a refresh setting for dropdowns where if more then one option has the select tag set, it resets the dropdown to the key 0. I had a javascript snippet that was setting the dropdown by adding the select tag, and by default Appery adds selected tag to the first item in the dropdown. If you clear the selected tags from the dropdown before you set yours( $('#DD_ID option:selected').removeAttr('selected');), it seems to bypass this problem.
Not sure if this is the same issues, but maybe this helps?
-Andrew
Challenges with Select component - values change back to 1st value in list
Posted: Fri Dec 05, 2014 3:39 pm
by Bruce Stuart
Andrew... That's awesome find!!! And likely that's my issue ... Where did you place your code ? In your data service? Page show ??
Thanks much !!!
Bruce
Challenges with Select component - values change back to 1st value in list
Posted: Fri Dec 05, 2014 3:42 pm
by Andrew Davidsburg
Thanks! I placed it literally the line before where I set the dropdown, but I think it can be put anywhere after the dropdown is populated. So glad I could help!
-Andrew
Challenges with Select component - values change back to 1st value in list
Posted: Fri Dec 05, 2014 5:29 pm
by Andrew Davidsburg
Challenges with Select component - values change back to 1st value in list
Posted: Fri Dec 05, 2014 6:23 pm
by Bruce Stuart
Andrew ... Working through another challenge right now ... Let you know before end of day
thanks !!