
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@paprika/date-input
Advanced tools
The DateInput component allows users to enter and display a date.
yarn add @paprika/date-input
or with npm:
npm install @paprika/date-input
| Prop | Type | required | default | Description |
|---|---|---|---|---|
| hasError | bool | false | false | If the value of <input> is valid or not. |
| dateFormat | string | false | "MM/DD/YYYY" | Date format used while entering and parsing user input. |
| date | instanceOf | false | null | Selected date in moment object. |
| humanFormat | string | false | undefined | Date format used while displaying date. It should be human-friendly and spelled out, default is MMMM DD,YYYY |
| onChange | func | false | () => {} | Callback when date is inputed. Will be called on blur or enter key press. |
| onChangePossibleDate | func | false | () => {} | Callback when user inputs date. Will be called after every key up event. |
| onError | func | false | () => {} | Error callback. Will be called on blur or enter key press if inputted date can't be parsed. |
| onClick | func | false | () => {} | Callback to be executed when the dateInput is clicked or activated by keyboard. |
| denyConfirmation | func | false | () => false | Guard function. If it returns true - confirmation will be prevented. |
| beforeConfirmation | func | false | () => {} | Callback when confirm |
import DateInput from "@paprika/date-input";
<DateInput dateFormat="MM/DD/YYYY" />;
Note: Please use <L10n /> component to wrap <DateInput /> in your application.
FAQs
The DateInput component allows users to enter and display a date.
The npm package @paprika/date-input receives a total of 2,224 weekly downloads. As such, @paprika/date-input popularity was classified as popular.
We found that @paprika/date-input demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

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.