Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Master #20

wants to merge 2 commits into from

Conversation

e-frank
Copy link

@e-frank e-frank commented May 18, 2016

if inputObject and displayProp are used, but inputValue is empty, the input gets now initialized with the correct value (inputObject[displayProp])

@cheonhyangzhang
Copy link
Owner

cheonhyangzhang commented May 18, 2016

Hi @e-frank
Originally, I thought inputValue and inputObject is the property to pass what user has input in this input field back to its parent element. So it kind of working like a read-only property.

Can you give a use case that we need to initialize these two fields?
E.g.

app.testInputObject = {name:'hello', desc:'world'};
<paper-typeahead-input is-candidates-json='true' input-object='{{testInputObject}}' display-prop='name'></paper-typeahead-input>

What would be the scenario to use something like this?

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

Successfully merging this pull request may close these issues.

2 participants