diff --git a/components/lib/selectbutton/SelectButton.d.ts b/components/lib/selectbutton/SelectButton.d.ts index 3c5869495..721d1fadb 100755 --- a/components/lib/selectbutton/SelectButton.d.ts +++ b/components/lib/selectbutton/SelectButton.d.ts @@ -93,6 +93,10 @@ export interface SelectButtonContext { * @defaultValue false */ focused: boolean; + /** + * Available option. + */ + option: any; } /** diff --git a/components/lib/selectbutton/SelectButton.vue b/components/lib/selectbutton/SelectButton.vue index b28da9258..a291fb572 100755 --- a/components/lib/selectbutton/SelectButton.vue +++ b/components/lib/selectbutton/SelectButton.vue @@ -66,7 +66,8 @@ export default { return this.ptm(key, { context: { active: this.isSelected(option), - disabled: this.isOptionDisabled(option) + disabled: this.isOptionDisabled(option), + option } }); },