patternfly-elements icon indicating copy to clipboard operation
patternfly-elements copied to clipboard

Pfe-autocomplete is disabled by default - when should we disable the search button?

Open Djfaucette opened this issue 4 years ago • 0 comments

: When to disable the search button?

I had an issue using in the catalog application. Current behavior (per design spec?), is that when a ` has a button-text attributee, the private 'textual button' remains disabled so long as the value of the input is empty. But Daniel wanted the user to be able to submit (i.e. by clicking the search button , search icon, or pressing enter on the input) even if the input was empty.

  • this could be the case if the app wants to let the server-side handle validation
  • or if the search input is not required in a form field

The advice @bennypowers gave for now was to use a separate