nl_tokens: Shows the picker for the select field whether that is a {
pl_tokens: function ( ) { var me = this , store = me . getStore ( ) , value = me . getValue ( ) ; //check if the store is empty, if it is, return if ( ! <mask> || store . getCount ( ) === 0 ) { return ; } if ( me . getReadOnly ( ) ) { return ; } me . isFocused = true ; if ( me . getUsePicker ( ) ) { var picker = me . getPhonePicker ( ) , name = me . getName ( ) , pickerValue = { } ; pickerValue [ name ] = value ; picker . setValue ( pickerValue ) ; if ( ! picker . getParent ( ) ) { Ext . Viewport . add ( picker ) ; } picker . show ( ) ; } else { var listPanel = me . getTabletPicker ( ) , list = listPanel . down ( 'list' ) , index , record ; if ( ! listPanel . getParent ( ) ) { Ext . Viewport . add ( listPanel ) ; } listPanel . showBy ( me . getComponent ( ) , null ) ; if ( value || me . getAutoSelect ( ) ) { store = list . getStore ( ) ; index = store . find ( me . getValueField ( ) , value , null , null , null , true ) ; record = store . getAt ( index ) ; if ( record ) { list . select ( record , null , true ) ; } } } }