Initial version with support for text binding, instead of just the value.