I just realized that `enableWhen` from the login e...
# tornadofx
e
I just realized that
enableWhen
from the login example above might just as well accept an observable. There is no added value in accepting a function that returns an observable in this case, so I'm adding overloads for all of those.
enableWhen(user.valid)
makes more sense.
🎉 1