Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added new field 'is_checked' for each item in the <ListWidget> React …
…'state', and for now set it to 'true' by default.
  • Loading branch information
maratbn committed Aug 5, 2018
1 parent 2df709a commit 459126e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack_in/entry.jsx
Expand Up @@ -94,7 +94,8 @@ class ListWidget extends React.Component {
...state.items,
{
id: state.total_added,
caption: strItemCaption
caption: strItemCaption,
is_checked: true
}
],
total_added: state.total_added + 1
Expand Down

0 comments on commit 459126e

Please sign in to comment.