Skip to content

Add autocomplete component#3

Draft
AnnaAlekhina wants to merge 31 commits into
developfrom
feature/1-autocomplete
Draft

Add autocomplete component#3
AnnaAlekhina wants to merge 31 commits into
developfrom
feature/1-autocomplete

Conversation

@AnnaAlekhina
Copy link
Copy Markdown

No description provided.

@AnnaAlekhina AnnaAlekhina added the enhancement New feature or request label Jan 14, 2020
@AnnaAlekhina AnnaAlekhina changed the title WIP: компонент autocomplete WIP: Add autocomplete component Jan 14, 2020
@AnnaAlekhina AnnaAlekhina force-pushed the feature/1-autocomplete branch from 4554ff5 to ef09eea Compare January 17, 2020 15:10
Comment thread projects/elonkit/src/lib/ui/autocomplete/autocomplete.component.ts Outdated
public get disabled(): boolean {
return this._disabled;
}
public set disabled(dis: boolean) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В принципе аргумент можно называть value везде. Кажется, так будет понятнее.

* Function that maps an option control value to its display value in the trigger
*/
@Input() public displayWith = (value?: any): string | undefined => {
return value ? value : undefined;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нужна ли здесь проверка? Почему бы просто не вернуть value? Вдруг это false

Comment thread projects/elonkit/src/lib/ui/autocomplete/autocomplete.component.ts Outdated
Comment thread projects/elonkit/src/lib/ui/autocomplete/autocomplete.component.ts Outdated
@feerzlay feerzlay force-pushed the feature/1-autocomplete branch from 4303729 to 993e042 Compare February 26, 2020 07:32
@feerzlay feerzlay force-pushed the feature/1-autocomplete branch from 993e042 to 24e5ac0 Compare March 16, 2020 09:26
@feerzlay feerzlay changed the title WIP: Add autocomplete component Add autocomplete component Aug 31, 2020
@feerzlay feerzlay marked this pull request as draft August 31, 2020 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants