From 39d99f6857a479e9769211397d6e9ceb2ed80c40 Mon Sep 17 00:00:00 2001 From: Jason McNeil Date: Fri, 18 Feb 2022 10:11:51 -0400 Subject: [PATCH] enhance(parser-input-select): parser-false on input within cell (#1809) * enhance(parser-input-select): parser-false on input within cell * Update parser-input-select.js * Update parser-input-select.js Clarify use --- js/parsers/parser-input-select.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/parsers/parser-input-select.js b/js/parsers/parser-input-select.js index 129952e0..2798eda4 100644 --- a/js/parsers/parser-input-select.js +++ b/js/parsers/parser-input-select.js @@ -226,6 +226,10 @@ this.value = $( this ).data( 'ts-original-value' ); }) .on( 'change keyup '.split( ' ' ).join( namespace + ' ' ), 'select, input, textarea', function( event ) { + // don't use updateCell if this (input) is set to 'parser-false' + if (this.classList.contains('parser-false')) { + return; + } var $row = $( this ).closest( 'tr' ), c = $row.closest( 'table' )[0].config; if ( !c || c && c.ignoreChildRow && $row.hasClass( c.cssChildRow ) ) {