formly-js / angular-formly

JavaScript powered forms for AngularJS
http://docs.angular-formly.com
MIT License
2.22k stars 405 forks source link

Firefox: DOMException [SecurityError: "Permission denied to access property "constructor" on cross-origin object" #747

Open Mobiletainment opened 7 years ago

Mobiletainment commented 7 years ago

I'm having an issue with Angular-Formly 8.4.1 which only occurs in Firefox (currently using 55.0.3). Chrome and Edge don't throw this exception:

Versions:

Exception: DOMException [SecurityError: "Permission denied to access property "constructor" on cross-origin object"

code: 18 nsresult: 0x80530012 location: http://localhost:9000/jspm_packages/npm/api-check@7.5.5/dist/api-check.js:438] <div formly-field="" ng-repeat="field in fields " ng-if="!field.hide" class="formly-field ng-scope ng-isolate-scope" options="field" model="field.model || model" original-model="model" fields="fields" form="theFormlyForm" form-id="formly_5" form-state="options.formState" form-options="options" index="$index" data-ng-animate="1">

Stacktrace:

I'm displaying a form that contains a radiogroup and some input fields. When the radioGroup's value is changed, the onChange listener fetches new data from the backend and overwrites the current model with the new data, upon which the further input fields get populated.

Has anyone had this exception before?