Commit Graph

70 Commits (83dd1c93b731bbd337cb4d6e953496d9f343c3c4)

Author SHA1 Message Date
Vitaliy Filippov 83dd1c93b7 Clearable dropdown & autocomplete, fix dropdown behaviour, always-controlled inputs 2018-07-17 20:15:40 +03:00
Phil Myers f79aaff297 Check whether the query key has a value rather than whether it's truthy 2018-02-27 13:23:55 -05:00
Rubén Moya f75fd26207
Merge pull request #1689 from velveret/autocomplete-autofocus
Allow autoFocus on Autocomplete component
2018-01-23 18:19:35 +01:00
Landon Petzoldt 2c92c37080 Enable onKeyDown and onKeyUp props on Autocomplete component 2017-12-21 13:43:37 -06:00
Vicky Lai a8280917fb Allow autoFocus on Autocomplete component 2017-09-21 12:53:42 -07:00
Brock Wills ae09770cd4 Importing PropTypes from prop-types rather than react (#1413) 2017-04-17 16:14:17 +02:00
Raphael Guastaferro b75214c792 Autocomplete accepting suggestionMatch none (#1289) 2017-04-02 14:15:26 +02:00
Mikko Matilainen da85a69e52 Fix allowCreate in Autocomplete when value prop is an object (#1334) 2017-04-02 14:12:48 +02:00
Tengis Batsaikhan 3e834cb63b Bugfix[AutoComplete]: showAllSuggestions state should be true if showSuggestionsWhenValueIsSet is true (#1367)
* Bugfix: showAllSuggestions state should be true.

* if query value not empty then filter suggestions
2017-04-02 14:06:25 +02:00
Emmanuel Quentin 3d2329a502 Allow to reference Input via Autocomplete (#1255) 2017-02-26 14:25:46 +01:00
Javi Velasco 9d6ec1eedd Update dependencies and linter (#1180) 2017-01-26 18:05:32 +01:00
Václav Chalupa d80dc82991 Enable dynamic source for single value Autocomplete (#1120) 2017-01-18 08:34:27 +01:00
Václav Chalupa d3fe9f9868 Add suggestionMatch option to disable filtering (#1122) 2017-01-18 08:33:30 +01:00
radeklos 2e3cb68c79 Remove diacritic signs in query and suggestions (#1115) 2017-01-17 08:24:19 +01:00
Javi Velasco bf00d92d68 Fixes #1034 2017-01-04 15:14:26 +01:00
Javi Velasco 5b0cf6b309 Merge pull request #1033 from dynamicdo/1.3.1-autocomplete-improvements
Autocomplete isValueAnObject cleanup
2016-12-23 09:23:58 +01:00
masakij f00687564b refactor propTypes more descriptive 2016-12-14 11:42:24 +09:00
masakij ce3fbfc913 relaxing propTypes of Input & Autocomplete 2016-12-12 16:18:03 +09:00
Craig Cartmell 7c6f5ae431 Reformat 2016-12-07 11:01:46 +00:00
Craig Cartmell d38abd1a91 Cleaned up isValueAnObject check 2016-12-07 10:59:35 +00:00
Craig Cartmell 3d4d93bc71 Added safety check on vals 2016-12-06 14:17:27 +00:00
Craig Cartmell 67d817d43b Merge remote-tracking branch 'upstream/dev' into 1.3.1-autocomplete-improvements
# Conflicts:
#	components/autocomplete/Autocomplete.js
2016-12-06 12:42:50 +00:00
Javi Velasco 5b39cfd1db Fixes #1016 2016-12-05 22:23:01 +01:00
Craig Cartmell 0ca01a8395 Merge remote-tracking branch 'remotes/upstream/dev' into dev
# Conflicts:
#	components/autocomplete/Autocomplete.js
2016-12-01 11:46:00 +00:00
Craig Cartmell d8a73eef88 Merge branch 'show-chips-if-not-in-source' into dev 2016-11-30 15:51:15 +00:00
Craig Cartmell 3237ad0828 Tidy up 2016-11-30 15:05:52 +00:00
Craig Cartmell e301116066 Added logic to show selected chips even if they don't exist in source (showSelectedWhenNotInSource). Object is now accepted in value prop and should match source. WIP. 2016-11-30 13:43:15 +00:00
James Browne 9d732f4b19 Removes onQueryChange from props that are passed down to the Input element in Autocomplete 2016-11-25 10:59:10 +00:00
Alexandre Borela 5c79ef0be6 Pass event to selection. 2016-11-24 12:30:36 -02:00
James Browne fb263f4072 Adds type definitions. Makes it possible to hide the Chips. 2016-11-24 11:09:39 +00:00
James Browne 8052a7794f Adds a hook to get the autocomplete query value. 2016-11-23 17:39:04 +00:00
Alexandre Borela 4cd756de83 Fix code style. 2016-11-22 09:56:58 -02:00
Alexandre Borela f7a3b6d85b Extract reused logic. 2016-11-22 08:20:43 -02:00
Alexandre Borela a1ad40e841 Fix Autocomplete mouse selection. 2016-11-22 08:12:11 -02:00
Javi Velasco 6fb1bcd0c6 Fix #983 2016-11-20 11:51:43 +01:00
Javi Velasco 173cff00d8 Fix #904 2016-11-18 18:47:39 +01:00
Javi Velasco 1fefbae412 Fix #883 2016-11-06 13:02:22 +01:00
Javi Velasco d0a9032fe7 Fix #877 2016-11-06 12:36:31 +01:00
Javi Velasco 57320a0fb5 Pass linter 2016-11-01 17:01:39 +01:00
Justin Schultz 466aac254f Moves the enter check to onKeyDown 2016-10-28 14:21:01 -06:00
Sebastian Gronewold 9931ac42be Pass currently active suggestion to onBlur handler 2016-10-23 18:32:32 +02:00
Sebastian Gronewold b2ad4180f9 Add event to autocomplete onBlur 2016-10-22 15:28:03 +02:00
Nathan Ducrey 9edc8bd32d Add onBlur and onFocus props in Autocomplete component 2016-09-14 10:25:38 +02:00
Javi Velasco bbee9ef7c1 Fix #770 2016-09-06 22:19:28 +02:00
Javi Velasco d86e4a5956 Fix #755 2016-09-03 14:25:12 +02:00
Javi Velasco abf91d3d24 Fix #711 2016-08-22 22:39:44 +02:00
Justin Schultz a61aa5cb8a Fix #697 - Autocomplete KeyUp enter fix 2016-08-15 16:00:11 -06:00
Weiler 01711e6658 Fixes linting errors 2016-08-06 18:37:16 -07:00
Weiler 0bce911718 Fixes Autocomplete error when provided value prop that is not in source option while preserving value text 2016-08-06 18:08:41 -07:00
Javi Velasco a825208e83 Remove some bind usage in render functions and undo passing down Dropdown theme to Input 2016-08-06 22:44:05 +02:00