Page 1 of 1

Problems with Autocomplete in 2.0.0-beta.1

Posted: 10 Dec 2018, 12:30
by mrlee
I am having a weird issue where Autocomplete will not refresh the input on render.
return
<div>
<AutoComplete value={this.state.Value} onChange={(e) => { this.setState({ Value: e.value }) }}
onBlur={this.updateValue} onFocus={this.toggleOSK} dropdown={true}
suggestions={this.state.ACSuggestions} completeMethod={this.AutoCompleteSuggestFilter}
/>
{this.state.Value}
</div>;

Above is my jsx. I would expect the autocomplete input value to always match the text output. But that is only the case 50% of the time.
As anyone else seen this?posting.php?mode=post&f=57

Re: Problems with Autocomplete in 2.0.0-beta.1

Posted: 12 Dec 2018, 10:48
by merve7
Did you mean this issue (https://github.com/primefaces/primereact/issues/576)? Please, could you try with the new version? If the problem still exists, please write again.