allowClear does not show cross to delete entry
See original GitHub issueHi there! I’ve used the newest version 1.2.0 and it does not look like the example.
<ng-select [allowClear]="true"
[items]="control.data"
[placeholder]="control.default"
(selected)="control.selected($event)">
</ng-select>
I am missing the cross to delete the selected entry, And the triangle to open list is not placed at end of input box as seen in demo.
I’ve also tried adding your ng2-select.css from demo page, but without any success.
How can I fix this?
Regards Carsten
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
select2 allowClear not enabled when options set dynamically
@CBroe, I'm aware of that. I didn't create that fiddle and neglected to add a placeholder when I added allowClear option. I am...
Read more >Can the "clear" button on a record picker input be removed?
I'm using a sn-record-picker on a service portal widget. When an option is selected and the box is filled an 'x' is added...
Read more >selectOnClose with allowClear not working - Is this a bug?
Is there a workaround? Clicking the x button should just remove the selection without opening the dropdown again, i believe.
Read more >ReactJS UI Ant Design Input Component - GeeksforGeeks
allowClear : It is used to remove input content with a clear icon if ... showCount: It is used to indicate whether show...
Read more >X-editable :: In-place editing with Twitter Bootstrap, jQuery UI ...
Element on page will not be updated and editable form will display error message. Default request method is POST, you can change it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
yeah, I’ve seen this. but it works on demo page!
Rather than ng2-select.css Write the below CSS in you _custom.css