?
avatar learncss
learncss
2 Jan 2019

Steps to reproduce the issue

1.) Create subform
2.) My code in subform:

<field name="multiple_media" type="radio" default="no" label="Is there more than 1 image or video in this group?" description="Toggle for additional figure content." class="btn-group">
		<option value="yes">Yes</option>
		<option value="no">No</option>
	</field>

3.) Add field(s) with showon. My code is:
<field name="media-image" type="media" showon="media_type:image" label="Image" directory="" preview="true" preview_height="150" />

Expected result

Fields with showon should show up immediately when option is chosen. It only shows if I save the article after the subform has been created and can be toggled on and off once it is saved.

Actual result

Fields with showon do not display until after the article is saved.

System information (as much as possible)

  • Mac with MAMP Pro
  • Joomla 3.9.1
  • PHP 5.6.37
avatar learncss learncss - open - 2 Jan 2019
avatar joomla-cms-bot joomla-cms-bot - change - 2 Jan 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Jan 2019
avatar learncss learncss - change - 2 Jan 2019
The description was changed
avatar learncss learncss - edited - 2 Jan 2019
avatar learncss
learncss - comment - 3 Jan 2019

It seems the issue is coming from an issue in the custom fields I'm loading. This can be closed.

avatar richard67
richard67 - comment - 3 Jan 2019

@learncss You can close it yourself, there should be a button for doing that.

avatar joomla-cms-bot joomla-cms-bot - change - 3 Jan 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-01-03 22:02:49
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 3 Jan 2019
avatar Quy Quy - change - 3 Jan 2019
Closed_By joomla-cms-bot Quy
avatar joomla-cms-bot
joomla-cms-bot - comment - 3 Jan 2019

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/23430

Add a Comment

Login with GitHub to post a comment