No Code Attached Yet bug
avatar brianteeman
brianteeman
25 Apr 2021

Steps to reproduce the issue

Create one field
Create a subform and select that field
Add another field and select the same field again
Add another field and select the same field again
Save

Expected result

Either

  1. The field select dropdown does not include fields that have already been added to the subform
    or
  2. An error message is displayed showing that you can't use the same field more than once

Actual result

Message says field has been saved but only one instance of the duplicated field exists

avatar brianteeman brianteeman - open - 25 Apr 2021
avatar joomla-cms-bot joomla-cms-bot - change - 25 Apr 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 Apr 2021
avatar joomdonation
joomdonation - comment - 26 Apr 2021

It's quite hard to make it works like that, I think. If it is needed, we can display a warning messages when the field is saved to tell users that only one instance of the field could be used in subform so that they know about the mistake (but still allow the Subform field to be saved). Guess that should be enough.

avatar brianteeman
brianteeman - comment - 26 Apr 2021

There should be something to inform the user that you cant use the same field more than once

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: No Code Attached Yet bug
Removed: ?
avatar Hackwar Hackwar - labeled - 22 Feb 2023

Add a Comment

Login with GitHub to post a comment