Implement most of the features of TextField

Yeah that's a bug, needs an additional test for the latter case.