ghiscoding / Aurelia-Bootstrap-Plugins

Aurelia-Bootstrap-Plugins are Custom Elements to bridge with a set of 3rd party Bootstrap addons
https://ghiscoding.github.io/Aurelia-Bootstrap-Plugins
MIT License
45 stars 23 forks source link

Uncaught TypeError: Cannot read property 'className' of undefined #67

Closed jasonhjohnson closed 5 years ago

jasonhjohnson commented 5 years ago

Hi,

I'm attempting to use the plugin within a custom component called `select-multiple.html' but am getting the following error: Uncaught TypeError: Cannot read property 'className' of undefined

select-multiple.html

<abp-select 
                        id="multiSelect" 
                        picker-options.bind="selectOptions" 
                        selected-item.bind="selectedValue" 
                        selected-value.bind="selected"
                        collection.bind="options" 
                        has-optgroup="false" 
                        data-mapping-structure.bind="selectMappingStructure"
                        multiple.bind="multiple" 
                        object-key="id" 
                        element.bind="selectedElement"
                        change.delegate="selectChanged()">
                    </abp-select>      

filters.html

<select-multiple name="lessees"
                        title="Lessees" 
                        placeholder="Select Lessees" 
                        options.two-way="availableLessees"
                        selected.two-way="selectedLessees" 
                        callback.call="selectedLesseesCallback()"
                        multiple="false">
                    </select-multiple>

Any help is appreciated.

ghiscoding commented 5 years ago

Try looking into the doc folder of this repo which is basically the GitHub Demo page.

ghiscoding commented 5 years ago

Closing as this seems to be more of a setup issue instead of the lib itself. I can re-open if it's really related to the lib