?
avatar PhilETaylor
PhilETaylor
15 Apr 2021

Steps to reproduce the issue

A form with a field like

	<field
					name="show_total_votes"
					type="radio"
					label="PLG_VOTE_TOTAL_VOTES_LABEL"
					default="0"
					filter="integer"
					>
					<option value="0">JHIDE</option>
					<option value="1">JSHOW</option>
				</field>

note there is no layout="joomla.form.field.radio.switcher" part.

Expected result

Nicely laid out standard HTML radio buttons

Actual result

Example screenshot:

Screenshot 2021-04-15 at 20 01 04

System information (as much as possible)

Safari on mac

Additional comments

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar PhilETaylor PhilETaylor - open - 15 Apr 2021
avatar joomla-cms-bot joomla-cms-bot - change - 15 Apr 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Apr 2021
avatar YatharthVyas
YatharthVyas - comment - 17 Apr 2021

I can confirm this issue for Chrome (up to date) on Windows 10
image

Also, the Plugin documentation page for Joomla 4 doesn't mention about layout="joomla.form.field.radio.switcher" in their example. I remember this because I was riddled by this issue during my GSoC task and felt like I was doing something wrong.

avatar PhilETaylor
PhilETaylor - comment - 17 Apr 2021
avatar PhilETaylor PhilETaylor - change - 17 Apr 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-04-17 17:36:53
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 17 Apr 2021

Add a Comment

Login with GitHub to post a comment