{isNew
- ?
- this.handleKeyDown(e, database)}
- ref={r => (this.name = r)}
- autoFocus={true}
- />
-
- :
- {name}
- }
+ ? this.handleKeyDown(e, database)}
+ ref={r => (this.name = r)}
+ autoFocus={true}
+ spellCheck={false}
+ autoComplete={false}
+ />
+ : name}
|
-
-
- this.handleKeyDown(e, database)}
- ref={r => (this.duration = r)}
- autoFocus={!isNew}
- />
-
+ |
+ this.handleKeyDown(e, database)}
+ ref={r => (this.duration = r)}
+ autoFocus={!isNew}
+ spellCheck={false}
+ autoComplete={false}
+ />
|
-
-
- this.handleKeyDown(e, database)}
- ref={r => (this.replication = r)}
- />
-
- |
-
+ {isRFDisplayed
+ ? |
+ this.handleKeyDown(e, database)}
+ ref={r => (this.replication = r)}
+ spellCheck={false}
+ autoComplete={false}
+ />
+ |
+ : null}
+
- {name}
- {' '}
+ {`${name} `}
{isDefault
? default
: null}
|
- {formattedDuration} |
+
+ {formattedDuration}
+ |
{isRFDisplayed
- ? {replication} |
+ ?
+ {replication}
+ |
: null}
-
+ |
{isDeleting
? onDelete(database, retentionPolicy)}
onCancel={this.handleEndDelete}
+ buttonSize="btn-xs"
/>
: | |