all directives are deleted
Actual result: I can delete all, until one directive (first) still remain. I can't delete it.
Labels |
Added:
?
|
Yes but should't the content of the last row not be deleted when they hit remove?
I can take a look into dropping min too but i'm under the same impression as @blueforce that when we hit remove the value would be removed but the last entry would still be there.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-03-01 14:45:54 |
Closed_By | ⇒ | astridx |
Closed_By | astridx | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @astridx by The JTracker Application at issues.joomla.org/joomla-cms/28171
As we have PR. See #28173
As said above I personally would expect that the last delete would reset the values to empty, the mention PR just masks the issue.
@blueforce I understood that correctly. Your issue would be solved with the PR #28173, right?
Status | Closed | ⇒ | New |
Closed_Date | 2020-03-01 14:45:54 | ⇒ | |
Closed_By | joomla-cms-bot | ⇒ |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-03-02 16:10:12 |
Closed_By | ⇒ | blueforce |
Not a bug. The subform here has
min="1"
attribute which means it requires at least 1 row.joomla-cms/administrator/components/com_csp/config.xml
Line 79 in 6bffa56