Skip to content

Commit

Permalink
CodeEdit
Browse files Browse the repository at this point in the history
  • Loading branch information
githubsaturn committed Oct 16, 2024
1 parent 0c6380d commit 9fd2187
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/containers/apps/appDetails/AppConfigs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ export default class AppConfigs extends Component<
<Row style={{ paddingBottom: 12 }} key={`${index}`}>
<Col span={8}>
<Input
spellCheck={false}
autoCorrect="off"
autoComplete="off"
autoCapitalize="off"
className="code-input"
placeholder="key"
value={value.key}
Expand Down Expand Up @@ -254,6 +258,10 @@ export default class AppConfigs extends Component<
'apps.app_config_vol_path',
'Path in App'
)}
spellCheck={false}
autoCorrect="off"
autoComplete="off"
autoCapitalize="off"
className="code-input"
placeholder="/var/www/html"
value={value.containerPath}
Expand All @@ -279,6 +287,10 @@ export default class AppConfigs extends Component<
'apps.app_config_vol_label',
'Label'
)}
spellCheck={false}
autoCorrect="off"
autoComplete="off"
autoCapitalize="off"
className="code-input"
placeholder="some-name"
value={value.volumeName}
Expand Down Expand Up @@ -310,6 +322,10 @@ export default class AppConfigs extends Component<
'apps.app_config_vol_host_path',
'Path on Host'
)}
spellCheck={false}
autoCorrect="off"
autoComplete="off"
autoCapitalize="off"
className="code-input"
placeholder="/host/path/exists"
value={value.hostPath}
Expand Down Expand Up @@ -419,6 +435,10 @@ export default class AppConfigs extends Component<
'apps.app_config_vol_node_id',
'Node ID'
)}
spellCheck={false}
autoCorrect="off"
autoComplete="off"
autoCapitalize="off"
className="code-input"
value={app.nodeId ? app.nodeId : ''}
disabled={!this.state.forceEditableNodeId}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ export default abstract class UploaderPlainTextBase extends ApiComponent<
if (self.isSingleLine()) {
return (
<Input
spellCheck={false}
autoCorrect="off"
autoComplete="off"
autoCapitalize="off"
className="code-input"
placeholder={self.getPlaceHolderValue()}
value={self.state.userEnteredValue}
Expand Down

0 comments on commit 9fd2187

Please sign in to comment.