message: Imlement questiontext.dataList property in react,
diff: @@ -3,9 +3,7 @@ import { SurveyQuestionUncontrolledElement } from "./reactquestion_element";
  import { QuestionTextModel } from "../question_text";
  import { ReactQuestionFactory } from "./reactquestion_factory";
  -export class SurveyQuestionText extends SurveyQuestionUncontrolledElement<
  - QuestionTextModel
  -> {
  +export class SurveyQuestionText extends SurveyQuestionUncontrolledElement<QuestionTextModel> {
  private _isWaitingForEnter = false;
  constructor(props: any) {
  super(props);
  @@ -18,19 +16,21 @@ export class SurveyQuestionText extends SurveyQuestionUncontrolledElement<
  var onKeyDown = null;
  var onKeyUp = null;
  if (this.question.isInputTextUpdate) {
  - onKeyDown = (e: any) => this._isWaitingForEnter = (e.keyCode === 229);
  + onKeyDown = (e: any) => (this._isWaitingForEnter = e.keyCode === 229);
  onKeyUp = (e: any) => {
  - if(!this._isWaitingForEnter || (e.keyCode === 13)) {
  + if (!this._isWaitingForEnter || e.keyCode === 13) {
  this.updateValueOnEvent(e);
  this._isWaitingForEnter = false;
  }
  - }
  + };
  }
  var placeHolder =
  this.question.inputType === "range" || this.question.isReadOnly
  ? ""
  : this.question.placeHolder;
  + var dataList = this.renderDataList();
  return (
  + <React.Fragment>
  <input
  id={this.question.inputId}
  disabled={this.isDisplayMode}
  @@ -43,6 +43,7 @@ export class SurveyQuestionText extends SurveyQuestionUncontrolledElement<
  step={this.question.step}
  size={this.question.size}
  placeholder={placeHolder}
  + list={this.question.dataListId}
  autoComplete={this.question.autoComplete}
  onBlur={onBlur}
  // onChange={this.updateValueOnEvent}
  @@ -52,11 +53,25 @@ export class SurveyQuestionText extends SurveyQuestionUncontrolledElement<
  aria-label={this.question.locTitle.renderedHtml}
  aria-invalid={this.question.errors.length > 0}
  aria-describedby={
  - this.question.errors.length > 0 ? this.question.id + "_errors" : null
  + this.question.errors.length > 0
  + ? this.question.id + "_errors"
  + : null
  }
  />
  + {dataList}
  + </React.Fragment>
  );
  }
  + private renderDataList(): JSX.Element {
  + if (!this.question.dataListId) return null;
  + var items = this.question.dataList;
  + if (items.length == 0) return null;
  + var options = [];
  + for (var i = 0; i < items.length; i++) {
  + options.push(<option value={items[i]}></option>);
  + }
  + return <datalist id={this.question.dataListId}>{options}</datalist>;
  + }
  }
  ReactQuestionFactory.Instance.registerQuestion("text", (props) => {
  