aggregate
Posts: 0
Joined: Thu Apr 24, 2014 11:37 am

When using lists, button does not stay split when adding adding multiple items to Item List

Hello,

I would like to use the list view with split button enabled so that I can have separate functionality on the items that are returned.

I find that once I add a button to the list view item, then the split button disappears. The result is that when I click a button inside the returned results, any actions that are tied to the container (the List Item) are also fired.

Why does this happen and how can I accomplish the split with buttons in my detail?

Structure

List

  • List Item Button - Fire Action 1 (should not fire when Item Detail Button is clicked)
    • Item Detail Button - Fire Action 2
aggregate
Posts: 0
Joined: Thu Apr 24, 2014 11:37 am

When using lists, button does not stay split when adding adding multiple items to Item List

Hi Sergiy,

I have already completed that guide, the issue isnt creating a clickable list. The issue is that when I add a button to the clickable list, I lose the ability to have the split button on the list.

  1. Create a list

  2. Make sure the list item has split button enabled

  3. Create an action on the split button

  4. Add a label for a name

  5. Add a label for an id

  6. Add a button

  7. Add an action to the button

    Notice that your split button action has disappeared (and so has the button it was tied to)

    Are you seeing what I am saying?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

When using lists, button does not stay split when adding adding multiple items to Item List

Sorry it is Appery.io bug, as workaround, you can use follow:

1) add custom css:
.insisible{
display:none;
}

2) add JS to mapping $[]-mobilelistitem:

$(element).find(":nth-child(1)").append(""+value._id+"");

It will add insisible tag with your information, that you can use after;

aggregate
Posts: 0
Joined: Thu Apr 24, 2014 11:37 am

When using lists, button does not stay split when adding adding multiple items to Item List

Thank you for the instructions.

I am not clear on how I can use the insistible tag... can you provide an example? Also, is there a timeline for a fix?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

When using lists, button does not stay split when adding adding multiple items to Item List

There aren't different between visible and invisible tags.
set text into label:
Appery("labelName").text("test");
get text from label:
var text = Appery("labelName").text();

Sorry, but it's unknown timeline for a fix now, we'll tell you when it will be fixed.

aggregate
Posts: 0
Joined: Thu Apr 24, 2014 11:37 am

When using lists, button does not stay split when adding adding multiple items to Item List

Hi,

Thanks but it seems all that happened was that it grabbed the Id value and started writing it into each tag. I think I need to wait on the fix. What I need are separate buttons or the ability to remove the icon from the list item so that it doesn't look clickable while I wait on the fix.

Thank you for the update!

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

When using lists, button does not stay split when adding adding multiple items to Item List

Hello.

Thanks for your reply.

We will update you when fix this bug.

Anyway you can try this functional after next update.

Thank & regards.

aggregate
Posts: 0
Joined: Thu Apr 24, 2014 11:37 am

When using lists, button does not stay split when adding adding multiple items to Item List

Thanks, cheers, looking forward to next update

Return to “Issues”