gd-bs 6.6.2 → 6.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -156,13 +156,44 @@ var FormControl = /** @class */ (function () {
156
156
  break;
157
157
  // Dropdown
158
158
  case _1.FormControlTypes.Dropdown:
159
+ // Add the dropdown
160
+ this._ddl = (0, dropdown_1.Dropdown)({
161
+ className: className,
162
+ formFl: true,
163
+ id: this._props.id,
164
+ isReadonly: this._props.isReadonly,
165
+ items: this._props.items,
166
+ onChange: this._props.onChange,
167
+ onMenuRendering: this._props.onMenuRendering,
168
+ required: this._props.required,
169
+ title: this._props.title,
170
+ value: value
171
+ });
172
+ break;
173
+ // Dropdown
159
174
  case _1.FormControlTypes.DropdownButton:
175
+ // Add the dropdown
176
+ this._ddl = (0, dropdown_1.Dropdown)({
177
+ className: className,
178
+ formFl: false,
179
+ id: this._props.id,
180
+ isReadonly: this._props.isReadonly,
181
+ items: this._props.items,
182
+ onChange: this._props.onChange,
183
+ onMenuRendering: this._props.onMenuRendering,
184
+ required: this._props.required,
185
+ title: this._props.title,
186
+ value: value
187
+ });
188
+ break;
189
+ // Dropdown
160
190
  case _1.FormControlTypes.DropdownCheckbox:
161
191
  // Add the dropdown
162
192
  this._ddl = (0, dropdown_1.Dropdown)({
163
193
  className: className,
164
- formFl: true,
194
+ formFl: false,
165
195
  id: this._props.id,
196
+ isCheckbox: true,
166
197
  isReadonly: this._props.isReadonly,
167
198
  items: this._props.items,
168
199
  onChange: this._props.onChange,
@@ -258,6 +289,41 @@ var FormControl = /** @class */ (function () {
258
289
  value: value
259
290
  });
260
291
  break;
292
+ // Multi-Dropdown Button
293
+ case _1.FormControlTypes.MultiDropdownButton:
294
+ // Add the dropdown
295
+ this._ddl = (0, dropdown_1.Dropdown)({
296
+ className: className,
297
+ formFl: false,
298
+ id: this._props.id,
299
+ isReadonly: this._props.isReadonly,
300
+ items: this._props.items,
301
+ multi: true,
302
+ onChange: this._props.onChange,
303
+ onMenuRendering: this._props.onMenuRendering,
304
+ required: this._props.required,
305
+ title: this._props.title,
306
+ value: value
307
+ });
308
+ break;
309
+ // Multi-Dropdown Checkbox
310
+ case _1.FormControlTypes.MultiDropdownCheckbox:
311
+ // Add the dropdown
312
+ this._ddl = (0, dropdown_1.Dropdown)({
313
+ className: className,
314
+ formFl: false,
315
+ id: this._props.id,
316
+ isCheckbox: true,
317
+ isReadonly: this._props.isReadonly,
318
+ items: this._props.items,
319
+ multi: true,
320
+ onChange: this._props.onChange,
321
+ onMenuRendering: this._props.onMenuRendering,
322
+ required: this._props.required,
323
+ title: this._props.title,
324
+ value: value
325
+ });
326
+ break;
261
327
  // Multi-List Box
262
328
  case _1.FormControlTypes.MultiListBox:
263
329
  // Add the list box