add support for attributes in textfields
add tests for textfields with default values
add tests for textfields with attributes