We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm submitting a ...
[x] bug report [ ] feature request [ ] support request
Codesandbox Case (Bug Reports) https://codesandbox.io/s/o7z1jvy069
Current behavior When dropdown value is 0 or false showClear icon is not displayed.
Expected behavior Icon should be displayed.
I think the problem is code which decides should it display the icon or not. this.props.value This condition must be the problem.
renderClearIcon() { if(this.props.value && this.props.showClear && !this.props.disabled) { return ( <i className="p-dropdown-clear-icon pi pi-times" onClick={this.clear}></i> ); } else { return null; } }
The text was updated successfully, but these errors were encountered:
ac691c0
cagataycivici
No branches or pull requests
I'm submitting a ...
Codesandbox Case (Bug Reports)
https://codesandbox.io/s/o7z1jvy069
Current behavior
When dropdown value is 0 or false showClear icon is not displayed.
Expected behavior
Icon should be displayed.
I think the problem is code which decides should it display the icon or not.
this.props.value
This condition must be the problem.
The text was updated successfully, but these errors were encountered: