Commit 7c2c5a8
committed
fix(select2): preserve placeholder and prevent dummy item on multiple
Tweaked Select2 init so that single selects correctly show the placeholder without auto-selecting the first item, and multiple selects no longer insert a dummy empty option when all items are removed.1 parent ace718c commit 7c2c5a8
3 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
838 | | - | |
| 838 | + | |
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
842 | | - | |
843 | | - | |
| 842 | + | |
| 843 | + | |
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
| |||
0 commit comments