Implement textfield (still one bug).

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>