Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C covid19india-react
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • covid19india
  • covid19india-react
  • Issues
  • #1259
Closed
Open
Issue created Apr 18, 2020 by Administrator@rootContributor

Console Error on HomePage related to States Select option

Created by: vishwac09

Describe the bug

Console errors seen on homepage, related to the State select option. On inspecting the code the error corresponds to make the use of value or the defaultValue attribute on the select element and removing the selected option set on the child option elements.

File :: src/components/home.js line 226

To Reproduce

  • Fork the project
  • Checkout master take latest pull
  • npm i && npm run start
  • Check console in browser

Expected behavior Console error must not be seen.

Screenshots image

Desktop (please complete the following information):

  • OS: IOS
  • Browser Chrome, Safari
  • Version : 80, 12

Additional context This PR only targets on improving the code, it is working fine without this fix also but just a correct way of the code. Forms

Assignee
Assign to
Time tracking