Hi,
I've been trying to get the ejs-inplaceeditor to bind to a value on my datamodel. I've been looking at the examples for data binding, and it seems to concentrate on multi value arrays for drop downs, not for single value entries.
I can get the control to display the value by binding the value property, but the documentation seems to imply it for when there is no value, so that doesn't strike me as correct.
Is there an example that shows an in place editor taking the value from a class e.g. myClassInstance.myProperty and binding to it, then updating said class when a change is performed? So on control initialisation myClass.myProperty contains "1", then a change is made via the in place editor, and the myClass.myProperty is now "2".
I would also like to use the url/post mechanism to update the appropriate object on the backend, but there's no way nice way to attach a JWT token to the call, like using Angular interceptors. Is there a way of achieving this?
Many thanks,
John