Repository URL to install this package:
|
Version:
2.1.0 ▾
|
| .. |
| Form |
| Readme.md |
| UserInvite.tsx |
| index.ts |
| renderProps.tsx |
| state.tsx |
| styled.tsx |
| typings.ts |
// import omniStorage from '@skava/persistence'
// @action // persistUser() { // omniStorage.set('user_invite_list', this.userInviteList) // }
@action.bound handleAddUser(SERIALIZED_DATA_ON_FORM_SUBMIT: FormSubmitData) { this.userInviteList.push(SERIALIZED_DATA_ON_FORM_SUBMIT) // this.persistUser() }
@action.bound handleRemoveUser(index: number) { console.log('handleRemoveUser data', index) console.log('handleRemoveUser list Before', this.userInviteList) // this.userInviteList.remove(SERIALIZED_DATA_ON_FORM_SUBMIT) this.userInviteList.splice(index, 1) console.log('handleRemoveUser list After', this.userInviteList) // this.persistUser() }