2015년 1월 4일 일요일

Spinner Selection Bug - AfterSelecting Not Triggered on a 1 Item List


OK, I'm pretty sure this is a bug...

The AIA is attached... spinner and two labels.  Two small sets of blocks

Spinner has only 1 item.

AfterSelecting is always triggered on first run.  You'll see the toast message when it loads.

After that first load, if you drop the spinner and select the one item, AfterSelecting never gets triggered again.

The blocks... the alert is only shown once...




--

--
Thanks Taifun... Didn't see it... but now remember the thread ... Doh!

In any case, it's a bug...  As Abraham said, a list is a list, and a 1 item list should respond the same as a multiple item list...

--
See issue 132 HERE.

--
Great!  BUT... it goes beyond that.  I can deal with the immediate selection on load by creating a Global FirstTime Boolean, and act in the AfterPicking based upon that.

However, if there's only 1 item in the spinner, after that first selection is made automatically, the AfterSelecting event never fires again, regardless of how many times you select...

--
Doing great Enis.

Googling  recommended that first option is something like "Select Option".

--
Glad to hear it!  HNY!

Yes, I DID that... But it's a blank list without that.  So the first item I put int here was "Create a New User," and while that's nice and it shows, it never fires after the first pass!

So, regardless of what you put there, you can only get it to fire once if there's only one, and you don't even get to do that!  In addition, if there are more, once one is selected, even if you select the same item again, the AfterSelecting isn't fired...

--

댓글 없음:

댓글 쓰기