Skip to content

Commit

Permalink
Update src/components/TextField/TextField.vue
Browse files Browse the repository at this point in the history
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marco <marcoambrosini@icloud.com>
  • Loading branch information
2 people authored and backportbot-nextcloud[bot] committed Aug 4, 2022
1 parent 8f414cf commit 8f37a15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/components/TextField/TextField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ and `minlength`.
<label for="$refs.textField.id">External label</label>
<TextField :value.sync="text5"
ref="textField"
:label-outside= "true"
:label-outside="true"
@trailing-button-click="clearText" />
</div>
</div>
Expand Down Expand Up @@ -167,7 +167,8 @@ export default {
/**
* The hidden input label for accessibility purposes. This will also
* be used as a placeholder unless the placeholder prop is populated
* with a different string.
* with a different string. This is required if an external label is
* not provided.
*/
label: {
type: String,
Expand Down
1 change: 0 additions & 1 deletion src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,4 @@ export { default as RichContenteditable } from './RichContenteditable/index.js'
export { default as SettingsSection } from './SettingsSection/index.js'
export { default as UserBubble } from './UserBubble/index.js'
export { default as Button } from './Button/index.js'
export { default as InputField } from './InputField/index.js'
export { default as TextField } from './TextField/index.js'

0 comments on commit 8f37a15

Please sign in to comment.