File tree Expand file tree Collapse file tree 6 files changed +15
-7
lines changed
library/jQWidgets.Blazor/wwwroot
demos/form/defaultfunctionality Expand file tree Collapse file tree 6 files changed +15
-7
lines changed Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments