ghiscoding / Aurelia-Bootstrap-Plugins

Aurelia-Bootstrap-Plugins are Custom Elements to bridge with a set of 3rd party Bootstrap addons
https://ghiscoding.github.io/Aurelia-Bootstrap-Plugins
MIT License
45 stars 23 forks source link

Still binding problem with 1.0.3 #4

Closed thejaff2 closed 7 years ago

thejaff2 commented 7 years ago

Sorry to say but I still have problems with 1.0.3.

I have tried binding using only value.bind, only model.bind or using both, for example

<abp-datetime-picker value.bind="testDateStr" model.bind="startdate" options.bind="{ format:'YYYY-MM-DD hh:mm' }" ></abp-datetime-picker>

I am setting startdate = new Date(2017,1,1) in attached().

What happens is that Chrome goes unresponsive with 30-60% cpu so I have to kill it. No problems logged to console..

I downloaded the test-project (wp-client) which started fine, although it did also hang so I had to kill it when I tried to change (write) a new date with the keyboard.

thejaff2 commented 7 years ago

Ok, strike that. I had some more calls to abp-datetime-picker I had to change. Now it is working. I will test some more now. For example, being able to write a date without gettin "invalid date".. But I will close this now.