1
0
-1

Hi team,

 

I recently ran into a problem which I didn't see before so probably needs testing if you can replicate.

When using visibility control in forms, in IE11 these will cause forms to break and trigger security violations (403) on submission.

In the console the error shown will be: 

Object doesn't support property or method 'startsWith'

I have fixed this for the time being by adding polyfill in the Userview subheader:

<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=String.prototype.startsWith,Array.from,Array.prototype.fill,Array.prototype.keys,Array.prototype.findIndex,Number.isInteger&flags=gated"></script>

And some custom JS in the Userview: 

if (!String.prototype.startsWith) {
String.prototype.startsWith = function(search, pos) {
return this.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;
};

More information on the issue can be found here:

https://stackoverflow.com/questions/30867172/code-not-running-in-ie-11-works-fine-in-chrome

 

Could you confirm if this is an issue with the current Joget version 6.0.10?

 

Cheers,

Eric

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Eric,

      Thank for your finding. Yup, it is a bug in 6.0.10. We will fix it in next release. Sorry about that.

      Best regards.

        CommentAdd your comment...