enabled

The enabled() method, called without any parameters, will return the current enabled state of a ComboBox element.
The enabled(bool) method is used to update a ComboBox ‘s enabled/disabled state. Passing true will enable and false will disable the widget.

<input id="combo" />

<script type="text/javascript">
    $(function () {
        $("#combo").shieldComboBox({
            dataSource: {
                data: countries
            },
            enabled: false,
            textTemplate: "{name}",
            valueTemplate: "{code}",
            inputTemplate: "{name}"
        });

        $("#combo").swidget().enabled(); // returns false
   
        $("#combo").swidget().enabled(true) // enables the widget
   
        $("#combo").swidget().enabled(); // returns true
    });
</script>