[Seaside] [Select Tag] setting option text

sergio ruiz sergio.rrd at gmail.com
Mon Jan 28 15:16:59 UTC 2019


I ended up doing this:

> html select
> list: #(25 50 75 100 <//25 50 75 100>);
> labels: [ :each | each asString , ' miles' ];
> callback: [ :value | … ]

works perfectly..

refactored the mess i made to handle al this into just 2 accessors..

thanks!

On January 28, 2019 at 1:22:01 AM, Johan Brichau (johan at inceptive.be) wrote:

Ha, yes, in this case that’s the easier solution ;)
Directly rendering the options themselves is not required for this case.

Johan

----
peace,
sergio
photographer, journalist, visionary

Public Key: http://bit.ly/29z9fG0
#BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV
http://www.codeandmusic.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20190128/9b99656d/attachment.html>


More information about the seaside mailing list