Skip to content

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

Description

@bahit

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>

Activity

  1. surgiie commented on Apr 21, 2017

    @surgiie

    Having same issue? Any fixes?

  2. rfberaldo commented on Apr 22, 2017

    @rfberaldo
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions