feat: implement searchable multi-select dropdown and format date display in agent profile edit screen
This commit is contained in:
@@ -996,17 +996,15 @@ class _AgentDetailScreenState extends ConsumerState<AgentDetailScreen> {
|
||||
padding: const EdgeInsets.symmetric(horizontal: 36),
|
||||
child: Column(
|
||||
children: [
|
||||
// Availability card (always show)
|
||||
// Availability card (always show) — only schedule lines, no "Full-time" label
|
||||
_buildInfoCard(
|
||||
icon: Icons.access_time_filled,
|
||||
title: state.availabilityLabel,
|
||||
subtitle: state.availabilityType.isNotEmpty
|
||||
? state.availabilityType
|
||||
: 'Not specified',
|
||||
subtitle: state.availabilitySchedule.isEmpty ? 'Not specified' : '',
|
||||
items: state.availabilitySchedule.isNotEmpty
|
||||
? state.availabilitySchedule
|
||||
: null,
|
||||
isEmpty: state.availabilityType.isEmpty,
|
||||
isEmpty: state.availabilitySchedule.isEmpty,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
// Work environment (always show)
|
||||
|
||||
Reference in New Issue
Block a user