@@ -958,7 +958,7 @@ element to the select.
958
958
{
959
959
type: " actions" ,
960
960
items: [
961
- { type: ' submit' , title: ' Ok' }
961
+ { type: ' submit' , title: ' Ok' },
962
962
{ type: ' button' , title: ' Cancel' , onClick: " cancel()" }
963
963
]
964
964
}
@@ -970,7 +970,7 @@ We can change this with ```style``` attribute:
970
970
{
971
971
type: " actions" ,
972
972
items: [
973
- { type: ' submit' , style: ' btn-success' , title: ' Ok' }
973
+ { type: ' submit' , style: ' btn-success' , title: ' Ok' },
974
974
{ type: ' button' , style: ' btn-info' , title: ' Cancel' , onClick: " cancel()" }
975
975
]
976
976
}
@@ -984,7 +984,7 @@ the ```sf-schema``` directive.
984
984
985
985
` ` ` javascript
986
986
[
987
- { type: ' submit' , title: ' Ok' , onClick : function (){ ... } }
987
+ { type: ' submit' , title: ' Ok' , onClick : function (){ ... } },
988
988
{ type: ' button' , title: ' Cancel' , onClick: " cancel()" }
989
989
[
990
990
` ` `
@@ -993,7 +993,7 @@ The submit and other buttons have btn-default as default.
993
993
We can change this with ` ` ` style` ` ` attribute:
994
994
` ` ` javascript
995
995
[
996
- { type: ' submit' , style: ' btn-warning' , title: ' Ok' , onClick : function (){ ... } }
996
+ { type: ' submit' , style: ' btn-warning' , title: ' Ok' , onClick : function (){ ... } },
997
997
{ type: ' button' , style: ' btn-danger' , title: ' Cancel' , onClick: " cancel()" }
998
998
[
999
999
` ` `
0 commit comments