修正上架時 Google Play 檢查出的 issue
This commit is contained in:
@@ -130,7 +130,7 @@ class _LeaveFormState extends State<LeaveForm> {
|
||||
children: [
|
||||
// 假別選擇 (顯示名稱,存入代碼)
|
||||
DropdownButtonFormField<LeaveType>(
|
||||
value: _selectedType,
|
||||
initialValue: _selectedType,
|
||||
decoration: const InputDecoration(labelText: '請假類別', border: OutlineInputBorder()),
|
||||
// 將 API 取得的資料轉換為選單項目
|
||||
items: _dbLeaveTypes.map((t) => DropdownMenuItem(
|
||||
|
||||
Reference in New Issue
Block a user