Announcement

Collapse
No announcement yet.

NAB: Grid cells showing as links on iPad

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • NAB: Grid cells showing as links on iPad

    Hi, we have a problem with NAB apps running on an iPad when we have a Row Click behaviour on a grid. After clicking on a row to launch a pop-up widget and then closing the pop-up, the iPad will have changed some of the cells to be underlined and in blue.

    If the user then clicks on one of those cells the app will crash ...

    2019-09-30_10-49-31.png

  • #2
    Hi David,

    To stop iOS from attempting to mark items as possible phone numbers you can fool the OS by adding a zero-width joiner inside the value. Below is an example of custom formatting on a grid column doing just that.

    Code:
    v = v + '';
    
    if (!Valence.isEmpty(v)) {
        // insert zero-width joiner ‍ to stop iOS from performing
        // telephone detection
        //
        return v.substring(0, 1) + '‍' + v.substring(1);
    }
    
    return v;

    Comment


    • #3
      Thanks Johnny, that is working well !

      Comment

      Working...
      X