changing TextValue to use a TextField widget