<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DatePickerStyle/field",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15DatePickerStylePA2A05FieldcdE0VRszrlE5fieldAEvpZ"
  },
  "title" : "field"
}
-->

# field

A date picker style that displays the components in an editable field.

```
@MainActor @export(implementation) @preconcurrency static var field: FieldDatePickerStyle { get }
```

## Discussion

You can use this style when space is constrained and users expect to make
specific date and time selections. However, you should generally use
[`stepperField`](/documentation/SwiftUI/DatePickerStyle/stepperField) instead of this style, unless your your app
requires hiding the stepper.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)