Problems with Autocomplete in 2.0.0-beta.1

UI Components for React
Post Reply
xvoo
Posts: 1
Joined: 07 Aug 2018, 21:11

07 Aug 2018, 21:25

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?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

23 Aug 2018, 22:44

I'll check and get back to you.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests