Closed alkunjo closed 6 years ago
There were a lot of changes related to the initial values. If you try https://codepen.io/fooloomanzoo/pen/jYzvgg does this fix this issue?
hai @fooloomanzoo, thanks for your response. I actually had already found the answer like a week ago and forgot to close the issue. I found that using confirmedDatetime
properties are the best approach so far. I also can preset the value from iron-ajax
response data binding or even change it dynamically by webcomponent
event. So I'll close the issue. Thanks :+1: :+1:
I'm a bit confused on how to set
confirmedTime
of atime-picker
. I have 2 cases to set theconfirmedTime
.First I want to set the default
confirmedTime
on page load or oncustom-element
loadready()
and/orconnectedCallback()
like below and that doesn't work tooThen how to set it by default?
Second, I want to set the
confirmedTime
with data binding on Polymer 2. I got the data from aniron-ajax
and I tried to passed it in 2 ways that both don't workOn 2nd case, I had debugged the data by printing it on a
div
and it shows. For both cases, where is my mistakes so theconfirmedTime
is not set?