|
@@ -14,6 +14,7 @@ let FiltersEvents = props => {
|
|
<form className="form-filter" onSubmit={handleSubmit(submit)}>
|
|
<form className="form-filter" onSubmit={handleSubmit(submit)}>
|
|
<div>
|
|
<div>
|
|
<Field name="eventType" label={labelType} component={customSelect}>
|
|
<Field name="eventType" label={labelType} component={customSelect}>
|
|
|
|
+ <option value="All events">All events</option>
|
|
{eventTypes.map( (elem,ind) => <option key={ind} value={elem}>{elem}</option>)}
|
|
{eventTypes.map( (elem,ind) => <option key={ind} value={elem}>{elem}</option>)}
|
|
</Field>
|
|
</Field>
|
|
</div>
|
|
</div>
|