Title: HTMLInputElement::formNoValidate has the wrong type · Issue #22367 · microsoft/TypeScript · GitHub
Open Graph Title: HTMLInputElement::formNoValidate has the wrong type · Issue #22367 · microsoft/TypeScript
X Title: HTMLInputElement::formNoValidate has the wrong type · Issue #22367 · microsoft/TypeScript
Description: TypeScript Version: 2.7.1 Search Terms: formNoValidate Code const test = document.createElement('input'); test.formNoValidate = true; Expected behavior: compiler shouldn't complain since HTMLInputElement::formNoValidate is supposed to be...
Open Graph Description: TypeScript Version: 2.7.1 Search Terms: formNoValidate Code const test = document.createElement('input'); test.formNoValidate = true; Expected behavior: compiler shouldn't complain since HTMLInputE...
X Description: TypeScript Version: 2.7.1 Search Terms: formNoValidate Code const test = document.createElement('input'); test.formNoValidate = true; Expected behavior: compiler shouldn't complain sinc...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/22367
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HTMLInputElement::formNoValidate has the wrong type","articleBody":"\u003c!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 -->\r\n\u003c!--\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker.\r\n\r\nPlease help us by doing the following steps before logging an issue:\r\n * Search: https://github.com/Microsoft/TypeScript/search?type=Issues\r\n * Read the CONTRIBUTING guidelines: https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md\r\n * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n-->\r\n\r\n\u003c!-- If you have a QUESTION:\r\n THIS IS NOT A FORUM FOR QUESTIONS.\r\n Ask questions at http://stackoverflow.com/questions/tagged/typescript\r\n or https://gitter.im/Microsoft/TypeScript\r\n-->\r\n\r\n\u003c!-- If you have a SUGGESTION:\r\n Most suggestion reports are duplicates, please search extra hard before logging a new suggestion.\r\n See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md\r\n-->\r\n\r\n\u003c!-- If you have a BUG:\r\n Please fill in the *entire* template below.\r\n-->\r\n\r\n\u003c!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:** 2.7.1\r\n\r\n\u003c!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:** \r\nformNoValidate\r\n\r\n**Code**\r\n```ts\r\nconst test = document.createElement('input');\r\ntest.formNoValidate = true;\r\n```\r\n\r\n**Expected behavior:**\r\ncompiler shouldn't complain since HTMLInputElement::formNoValidate is supposed to be a boolean value\r\n\r\n**Actual behavior:**\r\ncompiler reports an error due to the fact that typescript treats HTMLInputElement::formNoValidate as a string instead of a boolean\r\n\r\n**Playground Link:** \u003c!-- A link to a TypeScript Playground \"Share\" link which demonstrates this behavior --> \r\n\r\n**Related Issues:**","author":{"url":"https://github.com/sheley1998","@type":"Person","name":"sheley1998"},"datePublished":"2018-03-07T00:37:50Z","url":"https://github.com/microsoft/TypeScript/issues/22367"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:596d1a5f-34b4-5b8b-44a2-55a596269532 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E626:322768:1A220A:23B341:6AFBFDF1 |
| html-safe-nonce | a83e6764cb6c681439ad27f839dfc5a91b212bebc34a12a1dd0899237c9feaf4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjI2OjMyMjc2ODoxQTIyMEE6MjNCMzQxOjZBRkJGREYxIiwidmlzaXRvcl9pZCI6IjU4Mzc4Mjg1NzgyNjI5MDg0MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8ac5520f3c2edf5a740b1828c1bdf66e7ff33e8f6da1667ba4dc85f262b43454 |
| hovercard-subject-tag | issue:302921755 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/22367/issue_layout |
| twitter:image | https://opengraph.githubassets.com/08f144d1d36885650d02b4adafead17e87a362fd00698818afdb1b7603a611de/microsoft/TypeScript/issues/22367 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/08f144d1d36885650d02b4adafead17e87a362fd00698818afdb1b7603a611de/microsoft/TypeScript/issues/22367 |
| og:image:alt | TypeScript Version: 2.7.1 Search Terms: formNoValidate Code const test = document.createElement('input'); test.formNoValidate = true; Expected behavior: compiler shouldn't complain since HTMLInputE... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sheley1998 |
| hostname | github.com |
| expected-hostname | github.com |
| None | fa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b3b5633a74535d9c23385512d534c66c8fde1907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width