diff --git a/bower.json b/bower.json index 892827e..f97b681 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "etools-repeatable-field-set", "description": "A container that helps to display repeatable data sets with counters and options to manage data: add, modify, delete(with confirmation), copy.", - "version": "1.0.9", + "version": "1.1.0", "license": "https://github.com/unicef-polymer/etools-repeatable-field-set/blob/master/LICENSE.md", "main": "etools-repeatable-field-set.html", "dependencies": { diff --git a/etools-repeatable-field-set.html b/etools-repeatable-field-set.html index 098b526..c4e134b 100644 --- a/etools-repeatable-field-set.html +++ b/etools-repeatable-field-set.html @@ -158,6 +158,11 @@ margin-left: 19px; @apply(--repeatable-items-lone-vertical-divider); } + .show-optional { + font-size: 14px; + opacity: 0.6; + line-height: 20px; + }
@@ -165,7 +170,7 @@ -
[[title]] ([[model.length]])
+
[[title]] ([[model.length]]) [[optionalSecondary]]
@@ -243,6 +248,10 @@ type: Boolean, value: false, }, + optionalSecondary: { + type: String, + value: "" + }, allowCopy: { type: Boolean, value: false