Here is my code from create.js
The entire code is more complicated than that but that is the part that doesn't work.
The user case is that the resource_rate field is dependent on the resource_type field. Different resource_types have different available resource_rates. The client wants the resource_rate to default to the highest rate for the type whenever the resource_type is changed. All of this code works. I can get the correct value to set the resource_rate to but when I set it it isn't reflected in the interface.
The resource_rate just changes to "Select..." on the user interface. The value is set. If I click save the value saves.
Any thoughts on how to update the drop down show it shows the current value?