Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'length' of undefined #35

Closed
bahit opened this issue Apr 21, 2017 · 2 comments
Closed

TypeError: Cannot read property 'length' of undefined #35

bahit opened this issue Apr 21, 2017 · 2 comments
Labels

Comments

@bahit
Copy link

bahit commented Apr 21, 2017

When using Dropdown (General > Dropdown), I get console error of cannot read property 'length' of undefined, which is located at node_module/buefy/lib/src/index.js.

TypeError: Cannot read property 'length' of undefined
    at /Users/bahit/Projects/markx/app/node_modules/buefy/lib/src/index.js:formatted:3637
    at Array.<anonymous> (/Users/bahit/Projects/markx/app/node_modules/buefy/lib/src/index.js:formatted:2445)
    at t (/Users/bahit/Projects/markx/app/node_modules/buefy/lib/src/index.js:formatted:2413)

Above error lines expanded after I used chrome dev tool's expanding the minified code (else it would just indicate line 3 minified).

I don't know how to use source map.

I only used the provided code:

<b-dropdown>
    <button class="button" slot="trigger">
        <span>Dropdown</span>
        <b-icon icon="arrow_drop_down"></b-icon>
    </button>

    <b-option>Action</b-option>
    <b-option>Another action</b-option>
    <b-option>Something else</b-option>
</b-dropdown>
@surgiie
Copy link

surgiie commented Apr 21, 2017

Having same issue? Any fixes?

@rafaberaldo
Copy link
Member

rafaberaldo commented Apr 22, 2017

I'm on a trip right now. When I get back by Monday gonna take a look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants