Bobf1 Posted March 31, 2018 Share Posted March 31, 2018 Hello, maybe there is a simple solution for this, but I didn't found any yet... I played around with this example https://www.babylonjs-playground.com/#U9AC0N#13 and wanted to ask how to check the first radio button by default and don't allow to disable all radio buttons (one must be always checked)? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 31, 2018 Share Posted March 31, 2018 I suppose you had to use checkbox new BABYLON.GUI.Checkbox() to check several instead of radio buttons which is single choice. and use isChecked = true; on the checkbox default Quote Link to comment Share on other sites More sharing options...
Bobf1 Posted March 31, 2018 Author Share Posted March 31, 2018 Oh, ok, I thought there would be a solution by default for radio buttons. Thank you! 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.