Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dc46494

Browse files
author
Manuel Larsen
committedSep 24, 2018
added template type to compact form
1 parent ff40fe3 commit dc46494

4 files changed

+16
-2
lines changed
 

Diff for: ‎dist/angular-uikit.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: ‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-uikit",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"description": "Angular Uikit binding",
55
"main": "./dist/angular-uikit.min.js",
66
"scripts": {

Diff for: ‎src/angular-uikit-jsontableform-compact.html

+10
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@
7373
{{m[s.property]}}
7474
</div>
7575
</div>
76+
77+
<!-- TEMPLATE -->
78+
79+
<div ng-switch-when="template" my-ng-init="transcludeTemplate" m="m" s="s"></div>
80+
81+
7682
<!-- DEFAULT -->
7783
<div ng-switch-default>
7884
<input name="{{s.property}}"
@@ -187,6 +193,10 @@
187193
ng-required="h.required"
188194
title="{{h.property}}">
189195

196+
<!-- TEMPLATE -->
197+
198+
<div ng-switch-when="template" my-ng-init="transcludeInsertTemplate" m="newItem" s="h"></div>
199+
190200
<!-- DEFAULT -->
191201
<input name="{{h.property}}"
192202
ng-switch-default

Diff for: ‎src/angular-uikit-jsontableform.html

+4
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@
139139
</div>
140140
</div>
141141

142+
<!-- TEMPLATE -->
143+
142144
<div ng-switch-when="template" my-ng-init="transcludeTemplate" m="m" s="s"></div>
143145

144146
<!-- DEFAULT -->
@@ -224,6 +226,8 @@
224226
ng-required="h.required"
225227
title="{{h.property}}">
226228

229+
<!-- TEMPLATE -->
230+
227231
<div ng-switch-when="template" my-ng-init="transcludeInsertTemplate" m="newItem" s="h"></div>
228232

229233
<!-- DEFAULT -->

0 commit comments

Comments
 (0)
Please sign in to comment.