Project

General

Profile

Actions

Support #3399

closed

templateGroup: Hide 'add' if limit is reached

Added by Carsten Rose about 7 years ago. Updated about 7 years ago.

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

0%

Estimated time:
Discuss:
Prio Planung:
Vote:

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

Actions #1

Updated by Rafael Ostertag about 7 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Rafael Ostertag about 7 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.

Actions #3

Updated by Rafael Ostertag about 7 years ago

Actions #4

Updated by Carsten Rose about 7 years ago

Actions

Also available in: Atom PDF