fix(select): ensure popover options with number values are searched for correctly (#23998)

This commit is contained in:
Amanda Smith
2021-10-04 11:19:49 -05:00
committed by GitHub
parent 0ef4d68413
commit c20408369b
8 changed files with 35 additions and 19 deletions

View File

@ -60,7 +60,7 @@ export class Checkbox implements ComponentInterface {
* The value of a checkbox is analogous to the value of an `<input type="checkbox">`,
* it's only used when the checkbox participates in a native `<form>`.
*/
@Prop() value = 'on';
@Prop() value: any | null = 'on';
/**
* Emitted when the checked property has changed.