Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Selecting item from autosuggest now moves focus to quantity #269

Merged

Conversation

Thirdoptics
Copy link
Contributor

Addresses item in Food Inventory #171

Selecting an existing food item from autosuggest now moves focus to quantity. If editing an existing item, moves cursor to end of line like when editing categories.

Added:

  • inputRef to foodQuantity FormControl
  • handChange.foodName now uses callback this.validateFocus
  • validateFocus function calls validate like before, focus on quantity.focus, moves cursor

@Thirdoptics Thirdoptics mentioned this pull request Oct 17, 2017
7 tasks
@jspaine jspaine merged commit 1282ed3 into freeCodeCamp:staging Oct 30, 2017
@Thirdoptics Thirdoptics deleted the feature/food-inventory-updates branch October 30, 2017 21:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants