AwardsRecommendationQuickEditForm

Awards Recommendation Quick Edit Form Controller

Streamlined modal form for rapid recommendation updates with state-driven field rules. Simplified version of rec-edit for administrative efficiency.

Targets: domain, award, reason, gatherings, specialty, state, planToGiveBlock, planToGiveGathering, givenBlock, recId, memberId, turboFrame, givenDate, closeReason, closeReasonBlock, stateRulesBlock Values: publicProfileUrl (String), awardListUrl (String), formUrl (String), turboFrameUrl (String), gatheringsUrl (String) Outlets: outlet-btn

Constructor

new AwardsRecommendationQuickEditForm()

Methods

connect()

Store initial gathering value on connect for persistence through updates.

givenDateTargetConnected()

Store initial given date value on target connect.

loadScaMemberInfo()

Placeholder for member info loading (not used in quick edit).

optionsForFetch()

Get standard fetch options with JSON headers.

outletBtnOutletConnected()

Register listener when outlet-btn connects.

outletBtnOutletDisconnected()

Remove listener when outlet-btn disconnects.

planToGiveGatheringTargetConnected()

Store initial gathering value on target connect.

populateAwardDescriptions()

Fetch awards for domain and populate award selection with autocomplete.

populateSpecialties()

Update specialty dropdown based on selected award's configuration.

recIdTargetConnected()

Update form action URL when recId target connects.

setAward()

Handle award selection, populate specialties, and update gatherings.

setFieldRules()

Parse JSON state rules and apply Visible/Required/Disabled field states.

setId()

Set recommendation ID and update Turbo Frame source and form action.

setPlanToGiveRequired()

Sync required state to autocomplete text input.

stateTargetConnected()

Apply field rules when state target connects.

submit()

Close modal after form submission.

updateGatherings()

Fetch gatherings filtered by award and update checkboxes and dropdown.