I'm having a problem with getting the value of a select element on the page, likely due to a lack of groking the derby data model and API. It seems like it should be quite simple. I was attempting to implement this similar to the generated project's handling of adding an item.
This just ends up spitting out undefined. I've also tried model.del('_page.call') with a similar undefined result.
The documentation for select elements is extremely sparse, I've searched through the group here, googled around, checked derby-examples. The "gender" dropdown on the directory example is using a bootstrap dropdown widget, not a normal select. The "sink" example is working with the selected attribute of the option elements and an x-bind when clicking the "select" button, however I am simply trying to get the value of the select. The select element's value should be defaulted to whatever the first option is, even without triggering an event like 'change'.
I would also desire for the behavior to be that each user viewing this form have a unique instance. What I mean is that if user A and user B are at /call/:prospectId and filling out this form representing a "new call", that user A would be editing his own instance of the form and user B would be editing his own instance, neither one sharing data. It's not clear to me exactly how to define this.
Thank you.