• Can't access fields in view controller

    I'm having a problem accessing field values in a view controller. I have a controller for the Resources record view that takes a value from a dropdown and sets the value of a field depending on the dropdown selection. It looks like this: // custom/modules…
  • Set relationship dropdown via javascript controller

    Hi everyone, I'm trying to set a relationship dropdown on the "One" side (One-To-Many relationship) in the create javascript controller. With relate fields I'm able to simply do this: this.model.set('account_c', accountName); this.model.set('account_id_c…
  • JavaScript Controller copy one field to another before blanking the first field

    field_one is a drop down and field_two is a varchar. I want to be able to pick a value in field_one , have it populate field_two and then clear out field_one . Sounds simple enough. So I run this code in the on change event: this.model.set(' field_two…