Open cmacdonnacha opened 8 years ago
I think this is a great idea.
@topherfangio What do you think?
I would have concerns about what happens if there is text inside the inputbox. It seems like it only makes sense to do this when a chip has focus or when the input field is blank.
if (input.hasFocus || chips.some((chip) => return chip.hasFocus) selectAllChips()
Of course, we don't have support for multiselection for chips, so users aren't able to do ctrl+click, or shift+click, so that would have to be built first.
We're trying to get 1.1.2 ready to push out soon, and this has a lower priority than those issues, so I'm going to bump this to 1.1.3.
Actual Behavior:
What is the issue? *
Using keyboard shortcut "Select All" (CTRL + A) does not select all chipsWhat is the expected behavior?
Using keyboard shortcut "Select All" should select all chips. User can then delete all chips at once instead of having to delete each individual chip.CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
http://codepen.io/cmacdonnacha/pen/gwRbYkDetails:
Angular Versions: *
Angular Version:
1.4Angular Material Version:
1.1.0-rc.5Additional Information:
Browser Type: *
ChromeBrowser Version: *
49OS: *
WindowsStack Traces: