Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants