mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
@ -12,7 +12,7 @@ SelectOption is a component that is a child element of Select. For more informat
|
||||
| ---------- | ---------- | ------------------------------------------------------------------------------ | --------- |
|
||||
| `disabled` | `disabled` | If true, the user cannot interact with the select option. Defaults to `false`. | `boolean` |
|
||||
| `selected` | `selected` | If true, the element is selected. | `boolean` |
|
||||
| `value` | `value` | The text value of the option. | `string` |
|
||||
| `value` | -- | The text value of the option. | `any` |
|
||||
|
||||
|
||||
## Events
|
||||
|
||||
@ -22,7 +22,7 @@ export class SelectOption {
|
||||
/**
|
||||
* The text value of the option.
|
||||
*/
|
||||
@Prop({ mutable: true }) value!: string;
|
||||
@Prop({ mutable: true }) value!: any;
|
||||
|
||||
/**
|
||||
* Emitted when the select option loads.
|
||||
|
||||
Reference in New Issue
Block a user