-
Notifications
You must be signed in to change notification settings - Fork 198
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
Conversation
@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 👋. |
@@ -10,8 +10,7 @@ | |||
"plugin:react/recommended", | |||
"plugin:@typescript-eslint/recommended", | |||
"plugin:prettier/recommended", | |||
"plugin:react-hooks/recommended", | |||
"next/core-web-vitals" |
There was a problem hiding this comment.
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"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove this plugin
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 <#182 (comment)>:
> @@ -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 <#182 (comment)>:
> @@ -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 <#182 (review)>, 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.