admin 管理员组

文章数量: 1184232

I've been working on a little game in react and part of the game allows for the player to set some settings before starting. It's a turn-based tag game, four players chase different tokens around the map, while avoiding the one player labeled "it".

I have the following render method for a select option:

render() {
    return (
        <div>
            <form onSubmit={this.createPlayers} ref="form">
                <label htmlFor="goodies">Choose a Goody!</label>
                <select name="goodies" id="goodies">
                    <option value="donut">            
            
            

本文标签: javascriptReact using emojis in a drop downStack Overflow