You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/documents/behaviors/form.html.eco
+82-29Lines changed: 82 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -1403,10 +1403,86 @@ type : 'UI Behavior'
1403
1403
1404
1404
<h2 class="ui dividing header">Form Examples</h2>
1405
1405
1406
-
<div class="dropdown example">
1407
-
<h4 class="ui header">Regular Expressions</h4>
1408
-
1406
+
<div class="add example">
1407
+
<h4 class="ui header">
1408
+
Adding Rules Programmatically <div class="ui teal label">New in 2.2.11</div>
1409
+
</h4>
1410
+
<p>You can use the special behaviors <code>add field/rule</code>, <code>remove rule</code> and <code>remove field</code> to dynamically add or remove fields or rules. </p>
1411
+
<div class="ui ignored info message">
1412
+
<div class="ui header">Adding Multiple Rules and Complex Rules</div>
1413
+
You can specify shorthand or full rule objects when adding rules. You can also specifiy fields as an array to modify multiple fields.</code>.
<p><a href="/modules/dropdown.html">Dropdowns</a> can also be validated like other form fields. Simply match the validation rule to the <code>input</code> or <code>select</code> associated with the dropdown</p>
Copy file name to clipboardExpand all lines: server/documents/hotfix.html.eco
+78-63Lines changed: 78 additions & 63 deletions
Original file line number
Diff line number
Diff line change
@@ -6,76 +6,91 @@ standalone : true
6
6
title : 'Test Page'
7
7
type : 'Library'
8
8
---
9
-
<button id='btn1'>
10
-
show modal 1
11
-
</button>
12
-
<button id='btn2'>
13
-
show modal 2
14
-
</button>
15
-
<div class="ui modal" id='modal1'>
16
-
<i class="close icon"></i>
17
-
<div class="header">
18
-
Profile Picture
19
-
</div>
20
-
<div class="image content">
21
-
<div class="ui medium image">
22
-
<img src="/images/avatar/large/chris.jpg">
23
-
</div>
24
-
<div class="description">
25
-
<div class="ui header">We've auto-chosen a profile image for you.</div>
26
-
<p>We've grabbed the following image from the <a href="https://www.gravatar.com" target="_blank">gravatar</a> image associated with your registered e-mail address.</p>
27
-
<p>Is it okay to use this photo?</p>
28
-
</div>
29
-
</div>
30
-
<div class="actions">
31
-
<div class="ui black deny button">
32
-
Nope
33
-
</div>
34
-
<div class="ui positive right labeled icon button">
35
-
Yep, that's me
36
-
<i class="checkmark icon"></i>
37
-
</div>
38
-
</div>
39
-
</div>
40
-
<div class="ui modal" id='modal2'>
41
-
<i class="close icon"></i>
42
-
<div class="header">
43
-
Profile Picture
44
-
</div>
45
-
<div class="image content">
46
-
<div class="ui medium image">
47
-
<img src="/images/avatar/large/chris.jpg">
48
-
</div>
49
-
<div class="description">
50
-
<div class="ui header">We've auto-chosen a profile image for you.</div>
51
-
<p>We've grabbed the following image from the <a href="https://www.gravatar.com" target="_blank">gravatar</a> image associated with your registered e-mail address.</p>
52
-
<p>Is it okay to use this photo?</p>
53
-
</div>
54
-
</div>
55
-
<div class="actions">
56
-
<div class="ui black deny button">
57
-
Nope
58
-
</div>
59
-
<div class="ui positive right labeled icon button">
Copy file name to clipboardExpand all lines: server/documents/modules/sticky.html.eco
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -527,6 +527,11 @@ type : 'UI Module'
527
527
<td>false</td>
528
528
<td>Whether element should be "pushed" by the viewport, attaching to the bottom of the screen when scrolling up</td>
529
529
</tr>
530
+
<tr>
531
+
<td>setSize</td>
532
+
<td>true <div class="ui label">New in 2.2.11</div></td>
533
+
<td>Sets size of <code>fixed</code> content to match its width before fixing to screen dynamically. This is used because fixed may display block or 100% width content differently than it appears before sticking.</td>
0 commit comments