From fcce2e814aa9d657848e98ab347a683455a50cf3 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 19 Apr 2016 10:50:32 -0400 Subject: [PATCH] Fields with index greater than total in group are not visible * src/ui/group/GroupUi (isFieldVisible): Indexes greater than the current index count will no longer be considered to be visible. --- src/ui/group/GroupUi.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/group/GroupUi.js b/src/ui/group/GroupUi.js index d32cf9e..76eb5d1 100644 --- a/src/ui/group/GroupUi.js +++ b/src/ui/group/GroupUi.js @@ -838,6 +838,11 @@ module.exports = Class( 'GroupUi' ) 'public isFieldVisible': function( id, index ) { + if ( index > this.getCurrentIndex() ) + { + return false; + } + this._visCache[ id ] = this._visCache[ id ] || []; // if no index was provided, then determine if *any* of the indexes are