Skip to content

Commit

Permalink
fix(ld-input): type must be set explicitly to work in solid
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdiakur committed Oct 5, 2022
1 parent 49a61ec commit afda47e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/liquid/components/ld-input/ld-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ export class LdInput implements InnerFocusable, ClonesAttributes {
placeholder={this.placeholder}
ref={(el) => (this.input = el)}
tabIndex={this.ldTabindex}
type={this.type}
value={this.value || undefined} // the undefined fixes negative number input in input of type number
/>
{this.type === 'file' && (
Expand Down

0 comments on commit afda47e

Please sign in to comment.