eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

I believe the null part should be a book _id. When it says null there, it says null in the popup.(screenshot 5) But that is only in google chrome.

When I do the exact same thing in safari, I states the book _id correctly. (screenshot 1/3)

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

More Detail on using the select menu

It's very strange behaviour, could you please provide us with a public app link (http://devcenter.appery.io/documentat...) and steps to reproduce.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

http://appery.io/app/mobile-frame?src...

Use Google Chrome. Select a book from the menu at the top of the page. Go to the search page (upper right corner). Search for "test". No results from the search come up when they should.

I have also shared this app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a. It is called The Calving Book.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

More Detail on using the select menu

Hi Escards,

See details about what is wrong in your implementation:

1 You store LSV with name "bookid": http://prntscr.com/4gv93k/direct

2 But use LSV with name "bookidd" http://prntscr.com/4gv9i6/direct

That is why you don't have correct value when try to use it.

You did it on purpose?

Regards.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

I was using just "bookid" and I think it was only storing the book name, which we didn't want. After going throughout the tutorial that you sent me, I make the invisible label to have the _id and made a LSV that was "bookidd"

So I need to delete "bookid?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

More Detail on using the select menu

Hi Escards,

Nope you just need to use one LSV name instead of several (like you have now).

Please read our answer above.

Regards.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

I also store "bookidd". With that LSV it holds the _id instead of just the name.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

More Detail on using the select menu

Escards,

Please take a look on our response.

I've show you there that you have store in "bookid" LSV, but read from "bookidd".

So you can not get in this "bookidd" LSV correct value.

I'm just show what is wrong.. Now you need fix it.

To be clear - it's not a cross browser issue.. It just implementation mistake.

Regards.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

Well now I am back to where I was a while ago with it saying the book name, not the id.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

More Detail on using the select menu

Eascards,

You need to get "_id" field not name.

So please open your implementation and try to debug it.

General usecase:
1 when item builds "_id" stored to the "bookid" hidden label.
2 user click on item.
3 app set "bookid" LSV with text of "bookid" label.
4 invoke service where app uses "bookid" lsv.

Regards.

Return to “Issues”