Skip to content

[Vue warn]: Error in callback for watcher "value": "TypeError: Cannot read property 'length' of null" #382

@GovarJabbar

Description

@GovarJabbar

it show this error when you update all data related to vue suggest and the error was with this line:
if (this.text.length < this.minLength) { dist/es6.js:546
i fixed with this: if (this.text && this.text.length < this.minLength) {

if (this.text.length < this.minLength) {

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