JCPalmer Posted June 28, 2018 Share Posted June 28, 2018 It errors when you are building a radio button, & possibly other controls, and want to pre-assign whether it is checked, before showing it or connecting / adding it to a container (_host). You get a 'executeOnAllControls' of undefined, here. I am getting around this by directly assigning _isChecked. Since this is being written in typescript & that is private it must be: radio["_isChecked"] = true; Thinking, checking if _host is not null might be a good idea. True, you could screw it up by checking multiples of the same group in initialization, but it should be obvious that this is developer error. Quote Link to comment Share on other sites More sharing options...
Guest Posted June 28, 2018 Share Posted June 28, 2018 yeah I will improve that. Thanks for the heads up JCPalmer 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.