Skip to content

Improve document for setChecked(), setSelected() and setValue() #700

Closed
@38elements

Description

@38elements

Version

1.0.0-beta.18

Reproduction link

https://github.com/vuejs/vue-test-utils/tree/dev/docs

Steps to reproduce

Please See below links.

https://github.com/vuejs/vue-test-utils/blob/6dcfc4f5e88acc5aad903f5e2de619aa2bdb5ff0/docs/api/wrapper/setChecked.md

https://github.com/vuejs/vue-test-utils/blob/6dcfc4f5e88acc5aad903f5e2de619aa2bdb5ff0/docs/api/wrapper/setSelected.md

https://github.com/vuejs/vue-test-utils/blob/6dcfc4f5e88acc5aad903f5e2de619aa2bdb5ff0/docs/api/wrapper/setValue.md

What is expected?

There are descriptions of reason why the functions is necessary in the document for setChecked(), setSelected() and setValue().

What is actually happening?

The document for setChecked(), setSelected() and setValue() lacks the important points.
The important point is why the functions is necessary.
There was a problem which is not updating by v-model.
#260 (comment)
setChecked(), setSelected() and setValue() are added to resolve it.
I think the description of the problem should be added to the document for them.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions