Skip to content

Commit

Permalink
fix(input): hide clear button
Browse files Browse the repository at this point in the history
fixes #15002
  • Loading branch information
manucorporat committed Aug 3, 2018
1 parent 14d6270 commit 141b86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/input/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export class Input implements InputComponent {
onKeyDown={this.onKeydown.bind(this)}
/>,
<slot></slot>,
this.clearInput && <button
(this.clearInput && !this.readonly && !this.disabled) && <button
type="button"
class="input-clear-icon"
onClick={this.clearTextInput.bind(this)}
Expand Down

0 comments on commit 141b86c

Please sign in to comment.