react-tailwindcss-datepicker icon indicating copy to clipboard operation
react-tailwindcss-datepicker copied to clipboard

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

Open scrappergus opened this issue 2 years ago • 3 comments
trafficstars

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.

scrappergus avatar Aug 14 '23 20:08 scrappergus

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

alphabetek avatar Aug 17 '23 07:08 alphabetek

Looking for this as well

netgfx avatar Nov 18 '23 18:11 netgfx

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

idevstuffs avatar Feb 07 '24 09:02 idevstuffs

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

onesine avatar Aug 12 '24 13:08 onesine

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.

scrappergus avatar Aug 12 '24 14:08 scrappergus