I am building a form using auto-form where in I need to show/hide the rest of the form based on a radio button selected. The rerequisite is that Option A of the readio button is by default selected while the page is opened. But the rest of the form pertaining to option A is not getting rendered.
It only works after I select Option B and then Option A again. How do I go about this?
There were a few issues about this reported a little while back:
Which version of Autoform are you using? Maybe double check that you have the latest version.
If that doesn’t help, then it sounds like the issue still persists. Maybe open/update an issue via Autoform’s repo, or if you need a solution quickly look into writing your own custom hide/show helper like @abernix outlined here.