Turn off autocomplete on an input box

This commit is contained in:
BorysLevytskyi
2021-01-16 17:53:01 +02:00
parent b92c138b53
commit c7f3618ae0
2 changed files with 2 additions and 26 deletions

View File

@@ -1,25 +0,0 @@
# This is a basic workflow to help you get started with Actions
name: Deploy
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
workflow_dispatch:
loglevel: 'info'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Deploy React code to GitHub Pages
uses: amitsingh-007/deploy-to-github-pages@v1.2

View File

@@ -29,7 +29,8 @@ export default class InputBox extends React.Component<IInputBoxProps> {
onKeyUp={e => this.onKeyUp(e)}
onKeyDown={e => this.onKeyDown(e)}
className="expressionInput mono"
placeholder="type expression like '1>>2' or 'help' "/>;
placeholder="type expression like '1>>2' or 'help' "
autoComplete="off"/>;
}
onKeyUp(e: any) {