Page 1 of 1

inputselect() - new style value

Posted: 05 Apr 2017 11:25
by highend
It would be great if you can add a new style:

Code: Select all

256 = Return all selected indexes in a |-separated list. If nothing is selected, "0" (zero) is returned.
It's okay if
Note: Cannot be meaningfully combined with style 16
would still apply

Reference where this could be used: viewtopic.php?f=3&t=17294

Re: inputselect() - new style value

Posted: 05 Apr 2017 15:26
by TheQwerty
My response is in the other thread but just to reiterate:
TheQwerty wrote:... the combination of the two flags (2+128) has been discouraged nearly as long, and I would be surprised if anyone relied on the actual existing behavior of 2+128 ignoring checkboxes, so I feel it is probably okay to make 128 returns the selected/checked index(es).