
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@slice-and-dice/govuk-react-date-field
Advanced tools
Date field component displaying day, month and year and featuring several configurable options.
import DateField from '@govuk-react/date-field';
Simple
<DateField>What is your date of birth?</DateField>
Date with hint text
<DateField hintText="For example, 31 03 1980">
What is your date of birth?
</DateField>
Date with hint text & error
<DateField
hintText="For example, 31 03 1980"
errorText="Error message goes here"
>
What is your date of birth?
</DateField>
With custom input name props
<DateField hintText="For example, 31 03 1980"
inputNames={{
day: 'dayInputName',
month: 'monthInputName',
year: 'yearInputName',
}}
>
What is your date of birth?
</DateField>
| Prop | Required | Default | Type | Description |
|---|---|---|---|---|
children | true | `````` | node | |
defaultValues | { day: undefined, month: undefined, year: undefined, } | custom | ||
errorText | undefined | string | Error text | |
hintText | undefined | string | Optional hint text | |
input | undefined | shape[object Object] | Properties that are sent to the input, matching final form and redux form input type | |
inputNames | { day: undefined, month: undefined, year: undefined, } | shape[object Object] | Input name attributes |
FAQs
Date field component displaying day, month and year and featuring several configurable options.
We found that @slice-and-dice/govuk-react-date-field demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.