You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
For some obscure reasons, readonly attribute is producing undefined when used in a Cordova wrapper.
To be sure that was an issue, I replaced readonly by test in my view & changed uib-rating isolated scope to :
readonly: '=test',
and everything seems to work fine, both on mobile and browser.
My tests were made on iOS (cordova) and I bet Cordova webview considers readonly attribute as a reserved one and makes it produce undefined when accessed if element is not an input/textarea.
Here's my config :
Angular 1.4.7
Angular bootstrap 1.1.1
Cordova 6 & Cordova-ios 4
I can't really provide a plunkr as it only happens inside a Cordova webview.
Thus I will also fill a Cordova-ios issue stating what I found, in case renaming readonly to something else, like read-only, is not imaginable.
Cheers,
Ugo.
The text was updated successfully, but these errors were encountered:
Just noting, we just released 1.1.2 - 1.2.0 is next on our plate, so if you want to tackle this, try doing this when you can sometime in the next few weeks (within 2 weeks preferably to be on the safe side).
For some obscure reasons,
readonly
attribute is producingundefined
when used in a Cordova wrapper.To be sure that was an issue, I replaced
readonly
bytest
in my view & changed uib-rating isolated scope to :and everything seems to work fine, both on mobile and browser.
My tests were made on iOS (cordova) and I bet Cordova webview considers
readonly
attribute as a reserved one and makes it produceundefined
when accessed if element is not an input/textarea.Here's my config :
I can't really provide a plunkr as it only happens inside a Cordova webview.
Thus I will also fill a Cordova-ios issue stating what I found, in case renaming
readonly
to something else, likeread-only
, is not imaginable.Cheers,
Ugo.
The text was updated successfully, but these errors were encountered: