Closed scrappergus closed 1 month ago
@onesine any chance to land this PR? Thank you in advance.
Looking for this as well
Great addition! I'm looking for this feature as well, please approve and merge!
Hello @scrappergus, @alphabetek, @idevstuffs 👋. Sorry for the late reply. Thanks for the contribution @scrappergus.
The commit was failing pre-commit hooks, so in order to create the pull-request, I had to.
On Aug 12, 2024, at 7:55 AM, Lewhe Onesine @.***> wrote:
@onesine commented on this pull request.
In .eslintrc.json https://github.com/onesine/react-tailwindcss-datepicker/pull/182#discussion_r1713822967:
@@ -10,8 +10,7 @@ "plugin:react/recommended", @.***/recommended", "plugin:prettier/recommended",
- "plugin:react-hooks/recommended",
- "next/core-web-vitals" Why remove this plugin
In .eslintrc.json https://github.com/onesine/react-tailwindcss-datepicker/pull/182#discussion_r1713823380:
@@ -27,7 +26,7 @@ "version": "detect" } },
- "plugins": ["react", @.", "import", "prettier", @./eslint-plugin-next"], Why remove this plugin
— Reply to this email directly, view it on GitHub https://github.com/onesine/react-tailwindcss-datepicker/pull/182#pullrequestreview-2233103447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN3OGLHS6JPXL32MQONNA3ZRC5F5AVCNFSM6AAAAAA3QGFMAGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDEMZTGEYDGNBUG4. You are receiving this because you were mentioned.
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.