Skip to content

Commit 8f37a15

Browse files
marcoambrosininickvergessen
authored andcommitted
Update src/components/TextField/TextField.vue
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marco <marcoambrosini@icloud.com>
1 parent 8f414cf commit 8f37a15

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/TextField/TextField.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ and `minlength`.
6060
<label for="$refs.textField.id">External label</label>
6161
<TextField :value.sync="text5"
6262
ref="textField"
63-
:label-outside= "true"
63+
:label-outside="true"
6464
@trailing-button-click="clearText" />
6565
</div>
6666
</div>
@@ -167,7 +167,8 @@ export default {
167167
/**
168168
* The hidden input label for accessibility purposes. This will also
169169
* be used as a placeholder unless the placeholder prop is populated
170-
* with a different string.
170+
* with a different string. This is required if an external label is
171+
* not provided.
171172
*/
172173
label: {
173174
type: String,

src/components/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,4 @@ export { default as RichContenteditable } from './RichContenteditable/index.js'
7070
export { default as SettingsSection } from './SettingsSection/index.js'
7171
export { default as UserBubble } from './UserBubble/index.js'
7272
export { default as Button } from './Button/index.js'
73-
export { default as InputField } from './InputField/index.js'
7473
export { default as TextField } from './TextField/index.js'

0 commit comments

Comments
 (0)