Plugin API Feature Request: List Callback

Posted on
Sun Jul 22, 2018 1:38 pm
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Plugin API Feature Request: List Callback

I would like to add List callbacks to the API. We have them for menus but not for lists (or at least if it is supposed to work it never has for me).

Works
Code: Select all
            <Field id="myList" type="menu" defaultValue="" >
                <Label>Stuff:</Label>
                <List class="indigo.devices" dynamicReload="true"/>
                <CallbackMethod>listSelectionChanged</CallbackMethod>
            </Field>


Does Not Work
Code: Select all
            <Field id="myList" type="list" rows="5" defaultValue="" >
                <Label>Stuff:</Label>
                <List class="indigo.devices" dynamicReload="true"/>
                <CallbackMethod>listSelectionChanged</CallbackMethod>
            </Field>

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Posted on
Mon Jul 23, 2018 9:51 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Plugin API Feature Request: List Callback

Unfortunately, it's not as straight-forward as you might expect given how Cocoa bindings work (which is why it currently doesn't work). But it is on the list (with a note to wait and see how much demand we get LOL).

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Jul 23, 2018 11:38 am
Colorado4Wheeler offline
User avatar
Posts: 2794
Joined: Jul 20, 2009
Location: Colorado

Re: Plugin API Feature Request: List Callback

I completely understand that not all of my requests make it to the short list of any future update, just throwing my $0.02 in as things come up in case there is ever a consideration to make whatever change.

This issue, however, has been a thorn in my side for ages :). Then again, a lot of folks may not try to put the hurt on the UI that I do either :D. You should see the crazy stuff I'm doing with the UI on HKB 2.0. Totally nuts.

My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests