Skip to content

Commit 9c30216

Browse files
authored
Update Demos (#59)
1 parent 1ad73ba commit 9c30216

File tree

6 files changed

+15
-7
lines changed

6 files changed

+15
-7
lines changed

library/jQWidgets.Blazor/wwwroot/jqxBlazor.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ window.jqxBlazor = {
1818

1919
options = checkForDataAdapterNeed(options);
2020

21-
instances[id] = new window[name]('#' + id, options);
21+
if (name === 'jqxForm') {
22+
instances[id] = $('#' + id)[name](options);
23+
} else {
24+
instances[id] = new window[name]('#' + id, options);
25+
}
2226
},
2327
setOptions: function(id, options) {
2428
instances[id].setOptions(options);

processors/site-demos.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 Bytes
Binary file not shown.

release/framework/jqxBlazor.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ window.jqxBlazor = {
1818

1919
options = checkForDataAdapterNeed(options);
2020

21-
instances[id] = new window[name]('#' + id, options);
21+
if (name === 'jqxForm') {
22+
instances[id] = $('#' + id)[name](options);
23+
} else {
24+
instances[id] = new window[name]('#' + id, options);
25+
}
2226
},
2327
setOptions: function(id, options) {
2428
instances[id].setOptions(options);

release/index.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,12 +522,12 @@ <h3 class='widgets-title'>Blazor UI Components</h3>
522522
</div>
523523
</li>
524524

525-
<!-- <li>
525+
<li>
526526
<div class="jqx-expander-icon" title="jqxForm"></div>
527527
<div>
528528
<a title="jqxForm - Blazor Form Component" href="blazor-form/index.htm">jqxForm</a>
529529
</div>
530-
</li> -->
530+
</li>
531531
<!-- row 10 -->
532532
<li>
533533
<div class="jqx-layout-icon" title="jqxLayout"></div>

release/top.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,13 +423,13 @@ <h3 class='widgets-title'>Blazor UI Components</h3>
423423
<a title="jqxSplitter - Blazor Splitter Component" href="../blazor-splitter/index.htm">jqxSplitter</a>
424424
</div>
425425
</li>
426-
<!--
426+
427427
<li>
428428
<div class="jqx-expander-icon" title="jqxForm"></div>
429429
<div>
430430
<a title="jqxForm - Blazor Form Component" href="../blazor-form/index.htm">jqxForm</a>
431431
</div>
432-
</li> -->
432+
</li>
433433

434434
<li>
435435
<div class="jqx-validator-icon" title="jqxValidator"></div>

0 commit comments

Comments
 (0)