fix: missing autoComplete values, input types

This commit is contained in:
Tom Moor
2020-01-11 19:35:26 -08:00
parent f776741e77
commit 6d14dd5028
5 changed files with 5 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ class DocumentMove extends React.Component<Props> {
<Section column>
<Labeled label="Choose a new location">
<Input
type="text"
type="search"
placeholder="Search collections & documents…"
onKeyDown={this.handleKeyDown}
onChange={this.handleFilter}

View File

@@ -49,7 +49,7 @@ class DocumentShare extends React.Component<Props> {
type="text"
label="Share link"
value={document.shareUrl || 'Loading…'}
disabled
readOnly
/>
<CopyToClipboard
text={document.shareUrl || ''}

View File

@@ -109,6 +109,7 @@ class Details extends React.Component<Props> {
<Input
label="Name"
name="name"
autoComplete="organization"
value={this.name}
onChange={this.handleNameChange}
required

View File

@@ -105,7 +105,7 @@ class Notifications extends React.Component<Props> {
type="email"
value={user.email}
label="Email address"
disabled
readOnly
short
/>

View File

@@ -99,6 +99,7 @@ class Profile extends React.Component<Props> {
<form onSubmit={this.handleSubmit} ref={ref => (this.form = ref)}>
<Input
label="Full name"
autoComplete="name"
value={this.name}
onChange={this.handleNameChange}
required