Re: [Select Tag] setting option text
sergio ruiz <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <CABOFMN=sjjh9pkqRV9Rg6XGr5-NQPwGxS8NopD__0CTELZnZAw@mail.gmail.com> |
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 ([email protected]) 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 _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside