Skip to content

Commit

Permalink
Merge pull request #512 from City-of-Helsinki/MVJ-427_rakentamiskelpo…
Browse files Browse the repository at this point in the history
…isuus-modal-icons-missing

fix icons in send email modal
  • Loading branch information
robertrytovuori committed Aug 15, 2024
2 parents a438061 + 434c868 commit dc30366
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,12 @@ class SendEmailModal extends PureComponent<Props, State> {
} = this.state;
return <Modal className='modal-autoheight' title='Lähetä sähköposti' isOpen={isOpen} onClose={onClose}>
<FormText>Valitse sähköpostin vastaanottajat</FormText>
<DualListBox availableRef={ref => this.dualListBox = ref} canFilter filter={filter} filterPlaceholder='Hae vastaanottajia...' onChange={this.handleUserListChange} onFilterChange={this.handleFilterChange} options={userOptions} selected={selectedUsers} simpleValue={false} />
<DualListBox icons={{
moveLeft: '<',
moveAllLeft: '<<',
moveRight: '>',
moveAllRight: '>>'
}} availableRef={ref => this.dualListBox = ref} canFilter filter={filter} filterPlaceholder='Hae vastaanottajia...' onChange={this.handleUserListChange} onFilterChange={this.handleFilterChange} options={userOptions} selected={selectedUsers} simpleValue={false} />

<FormText><label htmlFor='send-email_text'> Sähköpostiin liittyvä kommentti</label></FormText>
<TextAreaInput className="no-margin" id='send-email_text' onChange={this.handleTextChange} placeholder='' rows={4} value={text} />
Expand Down

0 comments on commit dc30366

Please sign in to comment.