René's URL Explorer Experiment


Title: Angular2 Forms Controls validation "OnLostFocus (OnBlur)" rather than "OnChange" · Issue #7113 · angular/angular · GitHub

Open Graph Title: Angular2 Forms Controls validation "OnLostFocus (OnBlur)" rather than "OnChange" · Issue #7113 · angular/angular

X Title: Angular2 Forms Controls validation "OnLostFocus (OnBlur)" rather than "OnChange" · Issue #7113 · angular/angular

Description: Hi, Looking at the code for setting up form controls in shared.ts it appears we detect control changes onChange "registerOnChange" eg. if a user types into an input control that is an ng2 angular control, each keypress triggers a validat...

Open Graph Description: Hi, Looking at the code for setting up form controls in shared.ts it appears we detect control changes onChange "registerOnChange" eg. if a user types into an input control that is an ng2 angular c...

X Description: Hi, Looking at the code for setting up form controls in shared.ts it appears we detect control changes onChange "registerOnChange" eg. if a user types into an input control that is an ng2...

Opengraph URL: https://github.com/angular/angular/issues/7113

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular2 Forms Controls validation \"OnLostFocus (OnBlur)\" rather than \"OnChange\" ","articleBody":"Hi,\n\nLooking at the code for setting up form controls in  [shared.ts](https://github.com/angular/angular/blob/master/modules/angular2/src/common/forms/directives/shared.ts)  it appears we detect control changes onChange  \"registerOnChange\"\n\neg. if a user types into an input control that is an ng2 angular control, each keypress triggers a validationcheck .. \n\nIt appears to be a big change if i were to change it from OnChange to something like LostFocus of the control ... \n\nThe reason i ask is business really doesn't like the validation messages appearing suddenly even while the user hasn't finished filling in the field ...  eg. filling in a \"Password\" control, the user is suddenly shown validation errors while they're typing  ...\n\nAnyone got a nice solution for hiding validation messages and only showing them once they tab off the control ?!\n","author":{"url":"https://github.com/liquidboy","@type":"Person","name":"liquidboy"},"datePublished":"2016-02-17T00:49:04Z","url":"https://github.com/angular/angular/issues/7113"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a1ae1a65-5153-7933-8a78-a40bc2a5f940
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC476:1F7384:13C54F4:1A21E92:6B012279
html-safe-nonce72e1dc5afcede0f80c229620b6d8a16ff471d3d1d55e741162f72d3b17e636c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDc2OjFGNzM4NDoxM0M1NEY0OjFBMjFFOTI6NkIwMTIyNzkiLCJ2aXNpdG9yX2lkIjoiNDQ4NjIzMjQwOTIxMzMxMzY1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac813f3d85bc74c5a03839626d6bf7aeda22abf61eafd0d65c3afb01051c5caacd
hovercard-subject-tagissue:134140934
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/7113/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5bb1ee92b81784331c856d8b7f346503250ddb831e2fe0228ad975f117608121/angular/angular/issues/7113
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5bb1ee92b81784331c856d8b7f346503250ddb831e2fe0228ad975f117608121/angular/angular/issues/7113
og:image:altHi, Looking at the code for setting up form controls in shared.ts it appears we detect control changes onChange "registerOnChange" eg. if a user types into an input control that is an ng2 angular c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameliquidboy
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/7113#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F7113
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F7113
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/7113
Reloadhttps://github.com/angular/angular/issues/7113
Reloadhttps://github.com/angular/angular/issues/7113
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/7113
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/7113
Angular2 Forms Controls validation "OnLostFocus (OnBlur)" rather than "OnChange" https://github.com/angular/angular/issues/7113#top
https://github.com/kara
area: formshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20forms%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
freq3: highhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq3%3A%20high%22
state: Needs Designhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20Needs%20Design%22
workaround1: obvioushttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22workaround1%3A%20obvious%22
https://github.com/liquidboy
liquidboyhttps://github.com/liquidboy
on Feb 17, 2016https://github.com/angular/angular/issues/7113#issue-134140934
shared.tshttps://github.com/angular/angular/blob/master/modules/angular2/src/common/forms/directives/shared.ts
Nexthttps://github.com/angular/angular/issues/7113?timeline_page=1
https://github.com/gbataille
gbataillehttps://github.com/gbataille
on Feb 17, 2016https://github.com/angular/angular/issues/7113#issuecomment-185093884
https://github.com/zoechi
zoechihttps://github.com/zoechi
on Feb 17, 2016https://github.com/angular/angular/issues/7113#issuecomment-185121961
https://github.com/liquidboy
liquidboyhttps://github.com/liquidboy
on Feb 17, 2016https://github.com/angular/angular/issues/7113#issuecomment-185395920
https://github.com/ps2goat
ps2goathttps://github.com/ps2goat
on Mar 17, 2016https://github.com/angular/angular/issues/7113#issuecomment-198009432
https://github.com/JohnnyClutch
JohnnyClutchhttps://github.com/JohnnyClutch
on May 24, 2016https://github.com/angular/angular/issues/7113#issuecomment-221400994
liquidboyhttps://github.com/liquidboy
on Jun 15, 2016https://github.com/angular/angular/issues/7113#event-692734483
https://github.com/bruceauyeung
bruceauyeunghttps://github.com/bruceauyeung
on Jul 15, 2016https://github.com/angular/angular/issues/7113#issuecomment-232907003
https://github.com/BBegouin
BBegouinhttps://github.com/BBegouin
on Jul 19, 2016https://github.com/angular/angular/issues/7113#issuecomment-233694437
https://github.com/AliHoussein
AliHousseinhttps://github.com/AliHoussein
on Aug 11, 2016https://github.com/angular/angular/issues/7113#issuecomment-239075822
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
comp: core/formshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22comp%3A%20core%2Fforms%22
on Sep 1, 2016https://github.com/angular/angular/issues/7113#event-775603084
karahttps://github.com/kara
area: formshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20forms%22
on Sep 6, 2016https://github.com/angular/angular/issues/7113#event-779984439
mheveryhttps://github.com/mhevery
area: formshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20forms%22
comp: core/formshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22comp%3A%20core%2Fforms%22
on Sep 7, 2016https://github.com/angular/angular/issues/7113#event-781365049
https://github.com/Cuel
Cuelhttps://github.com/Cuel
on Sep 28, 2016https://github.com/angular/angular/issues/7113#issuecomment-250151841
https://github.com/kara
karahttps://github.com/kara
on Oct 13, 2016https://github.com/angular/angular/issues/7113#issuecomment-253597664
@liquidboyhttps://github.com/liquidboy
https://github.com/marokac
marokachttps://github.com/marokac
on Oct 24, 2017https://github.com/angular/angular/issues/7113#issuecomment-338936494
https://github.com/marokac
marokachttps://github.com/marokac
on Oct 24, 2017https://github.com/angular/angular/issues/7113#issuecomment-338938007
https://github.com/trotyl
trotylhttps://github.com/trotyl
on Oct 24, 2017https://github.com/angular/angular/issues/7113#issuecomment-338938530
@marokachttps://github.com/marokac
CONTRIBUTINGhttps://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
https://github.com/marokac
marokachttps://github.com/marokac
on Oct 24, 2017https://github.com/angular/angular/issues/7113#issuecomment-338940429
https://github.com/rmcsharry
rmcsharryhttps://github.com/rmcsharry
on Feb 1, 2018https://github.com/angular/angular/issues/7113#issuecomment-362248350
herehttps://stackoverflow.com/questions/46411390/angular-form-validation-activated-before-cancel-button-is-triggered?rq=1
https://github.com/steelx
steelxhttps://github.com/steelx
on Apr 19, 2018https://github.com/angular/angular/issues/7113#issuecomment-382607460
https://github.com/marokac
marokachttps://github.com/marokac
on Apr 19, 2018https://github.com/angular/angular/issues/7113#issuecomment-382679113
https://github.com/jkrot
jkrothttps://github.com/jkrot
on Apr 24, 2018https://github.com/angular/angular/issues/7113#issuecomment-384073692
https://github.com/imadhy
imadhyhttps://github.com/imadhy
on Jul 4, 2018https://github.com/angular/angular/issues/7113#issuecomment-402503375
https://github.com/spyro2000
spyro2000https://github.com/spyro2000
on Jul 16, 2018https://github.com/angular/angular/issues/7113#issuecomment-405227423
https://github.com/SystemDisc
SystemDischttps://github.com/SystemDisc
on Aug 31, 2018https://github.com/angular/angular/issues/7113#issuecomment-417714391
https://github.com/marokac
marokachttps://github.com/marokac
on Aug 31, 2018https://github.com/angular/angular/issues/7113#issuecomment-417770353
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 14, 2019https://github.com/angular/angular/issues/7113#issuecomment-531428410
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 14, 2019https://github.com/angular/angular/issues/7113#event-2633827849
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/7113
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/7113
karahttps://github.com/kara
area: formshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20forms%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
freq3: highhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq3%3A%20high%22
state: Needs Designhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20Needs%20Design%22
workaround1: obvioushttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22workaround1%3A%20obvious%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.