message: Work for SurveyQuestionText value value is not reset when clear is executed with survey-react
diff: @@ -6,40 +6,36 @@ import { QuestionTextModel } from "../question_text";
  import { ReactQuestionFactory } from "./reactquestionfactory";
  export class SurveyQuestionText extends SurveyQuestionElementBase {
  + input: any;
  constructor(props: any) {
  super(props);
  - this.handleOnChange = this.handleOnChange.bind(this);
  - this.handleOnBlur = this.handleOnBlur.bind(this);
  }
  protected get question(): QuestionTextModel {
  return this.questionBase as QuestionTextModel;
  }
  - handleOnChange(event: any) {
  - this.setState({ value: this.getValue(event.target.value) });
  + componentWillUpdate() {
  + this.input.value = this.getValue(this.question.value);
  }
  - handleOnBlur(event: any) {
  - this.question.value = event.target.value;
  - this.setState({ value: this.getValue(this.question.value) });
  + componentDidMount() {
  + this.input.value = this.getValue(this.question.value);
  }
  + handleOnBlur = (event: any) => {
  + this.question.value = event.target.value;
  + };
  render(): JSX.Element {
  if (!this.question) return null;
  var cssClasses = this.question.cssClasses;
  - var value =
  - !!this.state && this.state.value !== undefined
  - ? this.state.value
  - : this.getValue(this.question.value);
  return (
  <input
  id={this.question.inputId}
  disabled={this.isDisplayMode}
  className={cssClasses.root}
  type={this.question.inputType}
  - value={value}
  + ref={input => (this.input = input)}
  maxLength={this.question.getMaxLength()}
  size={this.question.size}
  placeholder={this.question.placeHolder}
  onBlur={this.handleOnBlur}
  - onChange={this.handleOnChange}
  aria-required={this.question.isRequired}
  aria-label={this.question.locTitle.renderedHtml}
  />
  