I added PatternFly's new Text Input Group component to Cost Management. The type-ahead is more usable than the Select component, but there are limitations. For example, we cannot add place holder text and an aria label. I also had to take some liberties regarding how keyboard navigation works.
Below are the observations I made while implementing the Text Input Group component.
Component Issues
- Cannot add place holder text
- .
TextInputGroupMain does not clear input text for a value of undefined — must be an empty string
Example issues
- Example doesn't use aira labels
- Input focus box not rendered correctly without clear button — must conditionally render
TextInputGroupUtilities
- Input value cleared when menu has focus and escape key is pressed — should just close the menu and set focus on the text input for further editing
- The tab key doesn't appear to work at all -- code looks like it was intended to select a menu option?
Cost Management implementation
- Added “No results found” label instead of always showing “Suggestions”
- Made the tab key clear the input value and navigate to the next tab index
- A lot of keyboard navigation code must be added manually — painstaking to get working correctly

I added PatternFly's new
Text Input Groupcomponent to Cost Management. The type-ahead is more usable than theSelectcomponent, but there are limitations. For example, we cannot add place holder text and an aria label. I also had to take some liberties regarding how keyboard navigation works.Below are the observations I made while implementing the Text Input Group component.
Component Issues
TextInputGroupMaindoes not clear input text for a value of undefined — must be an empty stringExample issues
TextInputGroupUtilitiesCost Management implementation