<button disabled={if (shouldDisable) Some(Text("disabled")) else None} />On Wed, Feb 10, 2010 at 8:12 PM, wm <[email protected]> wrote: > > Do it XML style: > > > > <button disabled="disabled"> > > </button> > > The problem is even after setting disabled="" (empty string), it's > still treated as "true"; I found it behave as expected only when > setting it to boolean true/false. > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<liftweb%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
