nl_tokens: Generates an array of <option > elements given the input options and selected value .
pl_tokens: function options ( options = [ ] , value , placeholder ) { if ( placeholder ) { options . unshift ( { label : placeholder } ) ; } return options // normalize options . map ( item => { return typeof item === 'object' ? item : { value : item , label : item } ; } ) // generate elements . map ( item => { return ( < option selected = { item . value === value } value = { item . <mask> } > { item . label } < / option > ) ; } ) ; }