Skip to content

Commit

Permalink
fix(select): pass header and subHeader to interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandy Carney committed Apr 4, 2018
1 parent 6ecbe03 commit 2195895
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/components/select/select.tsx
Expand Up @@ -311,8 +311,8 @@ export class Select {
const popoverOpts: PopoverOptions = Object.assign(interfaceOptions, {
component: 'ion-select-popover',
componentProps: {
title: interfaceOptions.title,
subTitle: interfaceOptions.subTitle,
header: interfaceOptions.header,
subHeader: interfaceOptions.subHeader,
message: interfaceOptions.message,
value: this.value,
options: this.childOpts.map(o => {
Expand Down Expand Up @@ -378,7 +378,7 @@ export class Select {
const labelText = (label) ? label.textContent : null;

const alertOpts: AlertOptions = Object.assign(interfaceOptions, {
title: interfaceOptions.title ? interfaceOptions.title : labelText,
header: interfaceOptions.header ? interfaceOptions.header : labelText,
inputs: this.childOpts.map(o => {
return {
type: (this.multiple ? 'checkbox' : 'radio'),
Expand Down

0 comments on commit 2195895

Please sign in to comment.