Skip to content

New option for setting the 'required' attribute on the date picker input element. #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

scrappergus
Copy link

I've added a simple boolean attribute to the Datepicker that allows you to set the input element's 'required' attribute.

In order to pass the pre-commit hooks, I had to disable the NextJS-related ESLint plugins when committing, and also change the line order in a couple files.

@alphabetek
Copy link

@onesine any chance to land this PR? Thank you in advance.

@netgfx
Copy link

netgfx commented Nov 18, 2023

Looking for this as well

@idevstuffs
Copy link

Great addition! I'm looking for this feature as well, please approve and merge!

@onesine onesine self-requested a review August 12, 2024 13:47
@onesine
Copy link
Owner

onesine commented Aug 12, 2024

Hello @scrappergus, @alphabetek, @idevstuffs 👋.
Sorry for the late reply.
Thanks for the contribution @scrappergus.

@onesine onesine merged commit 7c8b3e6 into onesine:master Aug 12, 2024
@@ -10,8 +10,7 @@
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:react-hooks/recommended",
"next/core-web-vitals"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove this plugin

@@ -27,7 +26,7 @@
"version": "detect"
}
},
"plugins": ["react", "@typescript-eslint", "import", "prettier", "@next/eslint-plugin-next"],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove this plugin

@scrappergus
Copy link
Author

scrappergus commented Aug 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants