Fix storing dynamic mail settings

Refs #1169.
This commit is contained in:
Franz Liedke 2019-03-20 22:02:06 +01:00
parent cd313952c7
commit 0c4de6f163
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4

View File

@ -89,7 +89,7 @@ export default class MailPage extends Page {
<div className="MailPage-MailSettings-input">
{this.driverFields[this.values.mail_driver()].flatMap(field => [
<label>{app.translator.trans(`core.admin.email.${field}_label`)}</label>,
<input className="FormControl" value={this.values[field]() || ''} onInput={m.withAttr('value', this.values[field])} />
<input className="FormControl" value={this.values[field]() || ''} oninput={m.withAttr('value', this.values[field])} />
])}
</div>
]