@@ -941,7 +941,7 @@ element to the select.
941941{
942942 type: " actions" ,
943943 items: [
944- { type: ' submit' , title: ' Ok' }
944+ { type: ' submit' , title: ' Ok' },
945945 { type: ' button' , title: ' Cancel' , onClick: " cancel()" }
946946 ]
947947}
@@ -953,7 +953,7 @@ We can change this with ```style``` attribute:
953953{
954954 type: " actions" ,
955955 items: [
956- { type: ' submit' , style: ' btn-success' , title: ' Ok' }
956+ { type: ' submit' , style: ' btn-success' , title: ' Ok' },
957957 { type: ' button' , style: ' btn-info' , title: ' Cancel' , onClick: " cancel()" }
958958 ]
959959}
@@ -967,7 +967,7 @@ the ```sf-schema``` directive.
967967
968968` ` ` javascript
969969[
970- { type: ' submit' , title: ' Ok' , onClick : function (){ ... } }
970+ { type: ' submit' , title: ' Ok' , onClick : function (){ ... } },
971971 { type: ' button' , title: ' Cancel' , onClick: " cancel()" }
972972[
973973` ` `
@@ -976,7 +976,7 @@ The submit and other buttons have btn-default as default.
976976We can change this with ` ` ` style` ` ` attribute:
977977` ` ` javascript
978978[
979- { type: ' submit' , style: ' btn-warning' , title: ' Ok' , onClick : function (){ ... } }
979+ { type: ' submit' , style: ' btn-warning' , title: ' Ok' , onClick : function (){ ... } },
980980 { type: ' button' , style: ' btn-danger' , title: ' Cancel' , onClick: " cancel()" }
981981[
982982` ` `
0 commit comments