searching on content hosts page and hitting enter opens 'register a host' page instead of searching
|Target version:||Katello 3.4.0|
|Triaged:||Yes||Fixed in Releases:|
|Bugzilla link:||Found in Releases:|
Go to Hosts > content hosts
type some search into the search box
hit enter instead of clicking with your mouse
Notice that the search is not performed, but the register a host page opens
Fixes #18448: ensure all buttons have a type.
Since patternfly tables CSS requires the table actions header to be in a
form it is important for all buttons to have type="button" as the
default type for html buttons is submit which thereby "submits" causing
the ng-click event of the first button in the form to be executed.