I think there should be no problem with this. This...
# kvision
r
I think there should be no problem with this. This is a simple modification of first column definition from the
addressbook-tabulator
example:
Copy code
ColumnDefinition(tr("First name"), "firstName", editorComponentFunction = { _, _, _, _, data ->
                        TextInput(value = data.firstName).apply {
                            size = InputSize.SMALL
                            onEvent {
                                change = {
                                    Model.saveAddress(data.id!!, data.copy(firstName = self.value))
                                }
                            }
                        }
                    }),
It's bound to the
ObservableList
not redux store, but it should work the same. The point is to dispatch store modification somehow from the
onChange
event (instead of calling
success
callback).
👍 2