nl_tokens: Called when a key has been pressed in the <input >
pl_tokens: function ( me , e ) { // getValue to ensure that we are in sync with the dom var value = me . getValue ( ) , // allows value to be zero but not undefined or null (other falsey values) valueValid = value !== undefined && value !== null && value !== "" ; this [ valueValid ? 'showClearIcon' : 'hideClearIcon' ] ( ) ; if ( e . browserEvent . keyCode === 13 ) { me . fireAction ( 'action' , [ <mask> , e ] , 'doAction' ) ; } }