Add the implementation of TextFieldBehavior