fix: missing autoComplete values, input types
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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 || ''}
|
||||
|
||||
@@ -109,6 +109,7 @@ class Details extends React.Component<Props> {
|
||||
<Input
|
||||
label="Name"
|
||||
name="name"
|
||||
autoComplete="organization"
|
||||
value={this.name}
|
||||
onChange={this.handleNameChange}
|
||||
required
|
||||
|
||||
@@ -105,7 +105,7 @@ class Notifications extends React.Component<Props> {
|
||||
type="email"
|
||||
value={user.email}
|
||||
label="Email address"
|
||||
disabled
|
||||
readOnly
|
||||
short
|
||||
/>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user