Actions
Support #3399
closedtemplateGroup: Hide 'add' if limit is reached
Status:
Closed
Priority:
Normal
Assignee:
Rafael Ostertag
Target version:
-
Start date:
22.03.2017
Due date:
% Done:
0%
Estimated time:
Discuss:
Prio Planung:
Description
After reaching maximum number of instances it makes no sense to still show the 'Add' button.
Please hide the 'add element' or assign a user definable class (e.g. make them grey and unclickable).
Updated by Rafael Ostertag about 6 years ago
- Status changed from New to In Progress
Updated by Rafael Ostertag about 6 years ago
- Status changed from In Progress to Closed
The target container now requires an attribute data-qfq-line-add-button
which must contain a jQuery selector for the add button (refer to fieldtemplates.html). This selector is required to enable/disable the add button.
Hiding the button should be done via CSS using the :disabled
pseudo-selector.
Updated by Rafael Ostertag about 6 years ago
Updated by Carsten Rose about 6 years ago
Fix inlcuded in 4aa9a9011a37653346ce8c222d1f651492ba7d14
Actions