File tree 1 file changed +7
-3
lines changed 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -103,14 +103,16 @@ $(document).ready(function() {
103
103
placeholder : "---------" ,
104
104
theme : "bootstrap" ,
105
105
templateResult : colorPickerClassCopy ,
106
- templateSelection : colorPickerClassCopy
106
+ templateSelection : colorPickerClassCopy ,
107
+ width : "off"
107
108
} ) ;
108
109
109
110
// Static choice selection
110
111
$ ( '.netbox-select2-static' ) . select2 ( {
111
112
allowClear : true ,
112
113
placeholder : "---------" ,
113
- theme : "bootstrap"
114
+ theme : "bootstrap" ,
115
+ width : "off"
114
116
} ) ;
115
117
116
118
// API backed selection
@@ -120,6 +122,7 @@ $(document).ready(function() {
120
122
allowClear : true ,
121
123
placeholder : "---------" ,
122
124
theme : "bootstrap" ,
125
+ width : "off" ,
123
126
ajax : {
124
127
delay : 500 ,
125
128
@@ -299,7 +302,8 @@ $(document).ready(function() {
299
302
multiple : true ,
300
303
allowClear : true ,
301
304
placeholder : "Tags" ,
302
-
305
+ theme : "bootstrap" ,
306
+ width : "off" ,
303
307
ajax : {
304
308
delay : 250 ,
305
309
url : netbox_api_path + "extras/tags/" ,
You can’t perform that action at this time.
0 commit comments