Skip to content

[Vue warn]: Error in render function: "TypeError: Cannot read property 'aria-rowcount' of undefined" #1801

Closed
@mateusgalasso

Description

@mateusgalasso

I'm with the following error
Error in render function: "TypeError: Cannot read property 'aria-rowcount' of undefined"

My template

 <b-table show-empty
                         aria-rowcount="5"
                         :items="items"
                         :fields="fields"
                         :current-page="currentPage"
                         :per-page="perPage"
                ></b-table>

and my script

<script>
  const items = [
    { isActive: true, age: 40, first_name: 'Dickerson', last_name: 'Macdonald' },
    { isActive: false, age: 21, first_name: 'Larsen', last_name: 'Shaw' },
    { isActive: false, age: 89, first_name: 'Geneva', last_name: 'Wilson' },
    { isActive: true, age: 38, first_name: 'Jami', last_name: 'Carney' }
  ]

  export default {
    data () {
      return {
        items: items
      }
    }
  }
</script>

I don't know what to do

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions