Fixes #5701: Improve display of radio buttons in directive form