Skip to content

How to clear the text in textarea #54

Open
@yongxinxu

Description

@yongxinxu

I am trying to clear the text in mention's textarea by javascript in React. I have tried

const textarea = document.getElementById("id");
textarea.value = "";

but this doesn't work for me.

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