AwardsRecommendationBulkEditForm

Awards Recommendation Bulk Edit Controller

Modal form for batch state updates on multiple recommendations with state-driven field rules and gathering intersection logic.

Targets: bulkIds, gatherings, state, planToGiveBlock, planToGiveGathering, givenBlock, recId, turboFrame, givenDate, closeReason, closeReasonBlock, stateRulesBlock Values: formUrl (String), turboFrameUrl (String), bulkIds (Array), gatheringsUrl (String) Outlets: outlet-btn

Constructor

new AwardsRecommendationBulkEditForm()

Methods

connect()

Initialize bulk edit controller and set up event listeners.

disconnect()

Clean up event listeners on disconnect.

handleGridBulkAction()

Handle bulk action event from grid-view controller.

outletBtnOutletConnected()

Register listener when outlet-btn connects.

outletBtnOutletDisconnected()

Remove listener when outlet-btn disconnects.

setFieldRules()

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

setId()

Receive bulk IDs from table selection and update form action URL.

setPlanToGiveRequired()

Sync required state to autocomplete text input.

stateTargetConnected()

Apply field rules when state target connects.

submit()

Close modal after form submission.

updateGatherings()

Update backend lookup URL for gathering autocomplete in bulk edit.