Project

General

Profile

Support #3399

templateGroup: Hide 'add' if limit is reached

Added by Carsten Rose over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Rafael Ostertag
Target version:
-
Start date:
22.03.2017
Due date:
% Done:

0%

Estimated time:
Discuss:

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).

History

#1 Updated by Rafael Ostertag over 3 years ago

  • Status changed from New to In Progress

#2 Updated by Rafael Ostertag over 3 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.

#3 Updated by Rafael Ostertag over 3 years ago

Also available in: Atom PDF