import { Controller } from "@hotwired/stimulus" export default class extends Controller { static targets = [ "field" ] static values = { valuesStore: { type: Object, default: {} }, loading: { type: Boolean, default: false } } static classes = [ "loading" ] updateFrameFromDependableField(event) { const field = event?.detail?.event?.detail?.event?.target || // super select nests its original jQuery event, contains