fix: streamlined single room selection handling
This commit is contained in:
@@ -262,9 +262,9 @@ class CreateFieldStateProvider extends AbstractFieldStateProvider
|
||||
'required' => new ApplicantCondition(),
|
||||
];
|
||||
|
||||
// Hide assignedRoomId field when only one room type is selected (auto-assigned by RoomAssignmentService)
|
||||
// Render assignedRoomId field as static text when only one room type is selected (auto-assigned by RoomAssignmentService)
|
||||
$this->fieldStateConditions['assignedRoomId'] = [
|
||||
'hidden' => new SingleRoomTypeCondition(),
|
||||
'static_text' => new SingleRoomTypeCondition(),
|
||||
];
|
||||
|
||||
// Example field state conditions would be registered here
|
||||
|
||||
Reference in New Issue
Block a user