paper-typeahead-input
paper-typeahead-input copied to clipboard
Master
if inputObject and displayProp are used, but inputValue is empty, the input gets now initialized with the correct value (inputObject[displayProp])
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?