RoleAddMember

new RoleAddMember()

INTERNAL CODE DOCUMENTATION COMPLETE

Role Add Member Controller

A specialized Stimulus controller for managing role membership assignments with member validation and optional branch requirements. Provides real-time form validation and submit control for RBAC member assignment workflows.

Key Features:

  • Member ID validation from autocomplete selection
  • Optional branch requirement validation
  • Real-time form validation with submit control
  • Focus management for improved user experience
  • Integration with autocomplete member selection
  • Bootstrap form integration with disabled state management

Extends

  • Controller

Methods

checkSubmitEnable()

Validate form submission requirements and control submit button Checks member selection validity and optional branch requirements Provides focus management and real-time validation feedback