Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added
- prop for in label

## [9.146.13] - 2024-08-20

## [9.146.12] - 2024-08-20
Expand Down
2 changes: 1 addition & 1 deletion react/components/Input/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class Input extends Component {
}

return (
<label className="vtex-input w-100" data-testid={testId}>
<label for={this.props.id} className="vtex-input w-100" data-testid={testId}>
{label && <span className={labelClasses}>{label}</span>}
<div className={prefixSuffixGroupClasses}>
{prefix && (
Expand Down