-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(search): inclusão do listbox ao fazer o search
Implementação da propriedade 't-show-listbox'. Com essa propriedade ativa, sempre ira mostrar uma listbox das opções informadas, quando houver mudança no input. ela também obedece a regra do filterKeys fixes DTHFUI-7812
- Loading branch information
1 parent
b4ee54a
commit 95ff8e6
Showing
6 changed files
with
410 additions
and
41 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
projects/ui/src/lib/components/po-search/interfaces/po-search-option.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* @usedBy PoSearchComponent | ||
* | ||
* @description | ||
* | ||
* Interface que define as opções que serão exibidas na lista ao procurar do `po-search`. | ||
*/ | ||
export interface PoSearchOption { | ||
/** | ||
* @optional | ||
* | ||
* @description | ||
* | ||
* Descrição exibida nas opções da lista. | ||
* | ||
* > Caso não seja definida será assumido o valor definido na propriedade `value`. | ||
*/ | ||
label?: string; | ||
|
||
/** Valor do objeto que será atribuído ao *model*. */ | ||
value: string | number; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.