* fix(v-pre): do not alter attributes
close#10087
* fix(v-pre): do not alter attributes
remove component and replace option from unit test
* refactor: use or
* perf: check boolean before index
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>