Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

mdChips : Autocomplete input display 'true' before entered the first time. #2518

Closed
waegen opened this issue Apr 23, 2015 · 2 comments
Closed
Assignees
Milestone

Comments

@waegen
Copy link

waegen commented Apr 23, 2015

When creating a chips autocomplete component the first time the component is displayed but not entered (focused) the text 'true' is displayed instead of the placeholder.

See here: http://plnkr.co/edit/7zzPBLuPdxvgFveYl1s9?p=preview

Once the input area got focus the real placeholder is displayed.

Version: v0.9.0-rc2-master-a5c972f
Browsers: Chrome, IE, FF

@ThomasBurleson ThomasBurleson self-assigned this Apr 23, 2015
@ThomasBurleson ThomasBurleson modified the milestones: 0.10.0, 0.9.0 Apr 23, 2015
@TalPasi
Copy link

TalPasi commented Apr 23, 2015

The problem it if md-search-text is not initialized in the vm first,

setting vm.searchText = null will resolve the problem, but this is not the desired solution

http://plnkr.co/edit/Xe8FWggIqhB5XaRpgfPE?p=preview

@ThomasBurleson
Copy link
Contributor

Duplicate of #2515

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants