If your DatePicker 's label is only plain Text you can initialize with this simpler signature. DatePicker("Due Date", selection: $selectedDate,
確定! 回上一頁