-
Notifications
You must be signed in to change notification settings - Fork 127
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
Add autocomplete property #285
Conversation
✅ Deploy Preview for sensational-seahorse-8635f8 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
The remaining failed CI job is not related to this PR. |
I now rebase the PR with But now other errors appear, which seems to be issue of either Vue (GH 10514) or TypeScript. |
WalkthroughThis update introduces an Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- src/components/FwbInput/FwbInput.vue (3 hunks)
- src/components/FwbSelect/FwbSelect.vue (3 hunks)
- src/components/FwbTextarea/FwbTextarea.vue (3 hunks)
Additional comments not posted (6)
src/components/FwbTextarea/FwbTextarea.vue (2)
11-11
: LGTM! Theautocomplete
attribute is correctly added.The
autocomplete
attribute is properly bound to theautocomplete
prop, enhancing the component's usability.
33-33
: LGTM! Theautocomplete
property is correctly added to the interface and props.The
autocomplete
property is correctly typed asAutoFill
and the default value of'off'
aligns with the intended functionality.Also applies to: 46-46
src/components/FwbInput/FwbInput.vue (2)
20-20
: LGTM! Theautocomplete
attribute is correctly added.The
autocomplete
attribute is properly bound to theautocomplete
prop, enhancing the component's usability.
64-64
: LGTM! Theautocomplete
property is correctly added to the interface and props.The
autocomplete
property is correctly typed asAutoFill
and the default value of'off'
aligns with the intended functionality.Also applies to: 75-75
src/components/FwbSelect/FwbSelect.vue (2)
14-14
: LGTM! Theautocomplete
attribute is correctly added.The
autocomplete
attribute is properly bound to theautocomplete
prop, enhancing the component's usability.
63-63
: LGTM! Theautocomplete
property is correctly added to the interface and props.The
autocomplete
property is correctly typed asAutoFill
and the default value of'off'
aligns with the intended functionality.Also applies to: 74-74
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.
can we try this fixes?
Also... I think linting issues in blockquote component were solved in one of the recent PR's... but if not... can you please run npm run lint-fix
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.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (9)
- docs/components/typography/blockquote/FwbBlockquoteAlignExample.vue (1 hunks)
- docs/components/typography/blockquote/FwbBlockquoteExample.vue (1 hunks)
- docs/components/typography/blockquote/FwbBlockquoteSizeExample.vue (1 hunks)
- docs/components/typography/blockquote/FwbBlockquoteSolidExample.vue (1 hunks)
- src/components/FwbInput/FwbInput.vue (4 hunks)
- src/components/FwbInput/types.ts (1 hunks)
- src/components/FwbSelect/FwbSelect.vue (3 hunks)
- src/components/FwbTextarea/FwbTextarea.vue (4 hunks)
- src/components/Typography/FwbBlockquote.vue (1 hunks)
Files skipped from review due to trivial changes (5)
- docs/components/typography/blockquote/FwbBlockquoteAlignExample.vue
- docs/components/typography/blockquote/FwbBlockquoteExample.vue
- docs/components/typography/blockquote/FwbBlockquoteSizeExample.vue
- docs/components/typography/blockquote/FwbBlockquoteSolidExample.vue
- src/components/Typography/FwbBlockquote.vue
Files skipped from review as they are similar to previous changes (3)
- src/components/FwbInput/FwbInput.vue
- src/components/FwbSelect/FwbSelect.vue
- src/components/FwbTextarea/FwbTextarea.vue
Additional comments not posted (1)
src/components/FwbInput/types.ts (1)
5-6
: LGTM! The new type declarationCommonAutoFill
is well-defined.The addition of the
CommonAutoFill
type enhances the configurability of the component by providing a clear set of autofill options. The comment explaining the simplification is helpful.
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.
Awesome,
Thank you for the fixes 🙌
Passthrough
autocomplete
to HTML elements.Summary by CodeRabbit
New Features
autocomplete
property to theFwbInput
,FwbSelect
, andFwbTextarea
components, allowing users to specify autocomplete behavior for input fields.CommonAutoFill
to simplify autofill attribute handling in forms.Improvements
autocomplete
is set to'off'
, enhancing user input control.