|
|
@ -157,7 +157,7 @@ class PollForm extends ImmutablePureComponent { |
|
|
|
</ul> |
|
|
|
|
|
|
|
<div className='poll__footer'> |
|
|
|
<button disabled={options.size >= 4} className='button button-secondary' onClick={this.handleAddOption}><Icon id='plus' /> <FormattedMessage {...messages.add_option} /></button> |
|
|
|
<button disabled={options.size >= 10} className='button button-secondary' onClick={this.handleAddOption}><Icon id='plus' /> <FormattedMessage {...messages.add_option} /></button> |
|
|
|
|
|
|
|
{/* eslint-disable-next-line jsx-a11y/no-onchange */} |
|
|
|
<select value={expiresIn} onChange={this.handleSelectDuration}> |
|
|
|