Skip to content

Commit

Permalink
feat(ui): added autocomplete props to NTextInput component (#574)
Browse files Browse the repository at this point in the history
  • Loading branch information
ManUtopiK committed Jan 12, 2024
1 parent 2d199b8 commit 46cc36f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/devtools-ui-kit/playground/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ const radio = ref('a')
n="pink6 dark:pink5"
icon="carbon:user"
placeholder="Your name..."
autocomplete="username"
/>
<NTextInput
n="pink6 dark:pink5"
Expand All @@ -214,6 +215,7 @@ const radio = ref('a')
icon="carbon:password"
type="password"
placeholder="Your password..."
autocomplete="current-password"
required
/>
<NButton class="self-start">
Expand Down
1 change: 1 addition & 0 deletions packages/devtools-ui-kit/src/components/NTextInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const props = withDefaults(
placeholder?: string
disabled?: boolean
autofocus?: boolean
autocomplete?: string
readonly?: boolean
type?: string
}>(),
Expand Down

0 comments on commit 46cc36f

Please sign in to comment.