Skip to content

Commit 3ca58bf

Browse files
committed
Add missing ',' to actions examples.
This breaks if people copy-paste the example code.
1 parent 7f29822 commit 3ca58bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -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.
976976
We 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

Comments
 (0)