1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 09:21:54 +00:00

fix Input auto complete with no name when create repo (#7411)

This commit is contained in:
Michael An
2025-01-22 16:10:19 +08:00
committed by GitHub
parent efee8f88ec
commit c48aa43ead
22 changed files with 67 additions and 9 deletions

View File

@@ -80,11 +80,20 @@ class AddAbuseReportDialog extends React.Component {
</FormGroup>
<FormGroup>
<Label>{gettext('Contact Information')}</Label>
<Input type="text" value={this.state.reporter} onChange={(event) => this.setReporter(event)}/>
<Input
name="abuse-report-contact-information"
type="text"
value={this.state.reporter}
onChange={(event) => this.setReporter(event)}
/>
</FormGroup>
<FormGroup>
<Label>{gettext('Description')}</Label>
<Input type="textarea" onChange={(event) => this.setDescription(event)}/>
<Input
name="abuse-report-description"
type="textarea"
onChange={(event) => this.setDescription(event)}
/>
</FormGroup>
</Form>
{this.state.errMessage && <Alert color="danger">{this.state.errMessage}</Alert>}