}
enum InputField {
- addTags = 'bulk-change-addTags',
- assignee = 'bulk-change-assignee',
- removeTags = 'bulk-change-removeTags',
- severity = 'bulk-change-severity',
- type = 'bulk-change-type'
+ addTags = 'addTags',
+ assignee = 'assignee',
+ removeTags = 'removeTags',
+ severity = 'severity',
+ type = 'type'
}
export const MAX_PAGE_SIZE = 500;
affected: number | undefined,
input: React.ReactNode
) => (
- <div className="modal-field" id={`issues-bulk-change-${field}`}>
- <label htmlFor={field}>{translate(label)}</label>
+ <div className="modal-field">
+ <label htmlFor={`issues-bulk-change-${field}`}>{translate(label)}</label>
{input}
{affected !== undefined && this.renderAffected(affected)}
</div>
const input = (
<AssigneeSelect
- inputId={field}
+ inputId={`issues-bulk-change-${field}`}
currentUser={currentUser}
issues={issues}
onAssigneeSelect={this.handleAssigneeSelect}
const input = (
<Select
className="input-super-large"
- inputId={field}
+ inputId={`issues-bulk-change-${field}`}
isClearable={true}
isSearchable={false}
components={{
const input = (
<Select
className="input-super-large"
- inputId={field}
+ inputId={`issues-bulk-change-${field}`}
isClearable={true}
isSearchable={false}
onChange={this.handleSelectFieldChange('severity')}
const props = {
className: 'input-super-large',
- inputId: field,
+ inputId: `issues-bulk-change-${field}`,
isClearable: true,
defaultOptions: this.state.initialTags,
isMulti: true,