Select/Autocomplete features proposals list
See original GitHub issue🚀 Feature Proposal
It would be great to add the following abilities: Props:
- caption
- popover properties (at least placement)
- onBlur (needs discussion)
- onFocus (needs discussion)
Methods:
- focus
- blur
Note: some discussion related to implementation focus and blur methods is required.
Motivation
This will help a lot in using these components in validation forms.
Example
<View>
<Input
label='Input'
value={this.state.value1}
onChangeText={this.setValue1}
onSubmitEditing={this.onAutocompleteFocus}
/>
<Autocomplete
label='Autocomplete'
ref={this.autocompleteRef}
value={this.state.value2}
placement='top'
onChangeText={this.setValue2}
onSelect={this.onSelectSomething1}
onSubmitEditing={this.onSelectFocus}
/>
<Select
label='Select'
ref={this.selectRef}
data={this.selectData}
caption={this.getCaption(errors, touched)}
selectedOption={this.state.selectOption}
onSelect={this.selectSomething2}
onBlur={this.setSelectTouched}
/>
</View>
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Chapter 7. Content Assist (Autocomplete) - DVT Eclipse IDE
Proposals are presented in a list for you to choose from. Moving through proposals you can quickly see the related documentation.
Read more >[New Feature Proposal] change from selection field to ...
it is proposed to change the field type from selection to Autocomplete, then user can both scroll from the long list like before...
Read more >Autocomplete - Forma 36
The Autocomplete requires 3 props to work: ... An Autocomplete with a list of spaces will look like this: Travel Blog; Finnance Blog;...
Read more >Auto-completion - Notepad++ User Manual
With auto-completion active, after typing a prefix of at least the minimum length, a list is presented with all the available words from...
Read more >Tab to select autocomplete item in eclipse? - Stack Overflow
For instance in Aptana Studio, you could define set of keys for proposal ... think you can change what is used to select...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Got your idea, can you please move your comment into a new issue? I guess it could be available in 4.4. Thanks👍
How can one get the value of the selected option not row id. I need this.