diff --git a/packages/components/src/components/bal-list/bal-list.tsx b/packages/components/src/components/bal-list/bal-list.tsx index c240a8c0b7..6ee592333a 100644 --- a/packages/components/src/components/bal-list/bal-list.tsx +++ b/packages/components/src/components/bal-list/bal-list.tsx @@ -44,6 +44,9 @@ export class List { */ @Prop() inMainNav = false + componentWillLoad() { + this.invertedHandler() + } render() { const block = BEM.block('list') diff --git a/packages/components/src/components/form/bal-radio/bal-radio.tsx b/packages/components/src/components/form/bal-radio/bal-radio.tsx index 2db2648ad4..0d11d9ea83 100644 --- a/packages/components/src/components/form/bal-radio/bal-radio.tsx +++ b/packages/components/src/components/form/bal-radio/bal-radio.tsx @@ -66,8 +66,10 @@ export class Radio implements ComponentInterface, Loggable { */ @Prop() isEmpty = false @Watch('isEmpty') isEmptyHandler() { - this.labelHidden = this.isEmpty - console.warn('[DEPRECATED] - Use label-hidden instead') + if (this.isEmpty) { + this.labelHidden = this.isEmpty + console.warn('[DEPRECATED] - Use label-hidden instead') + } } /** @@ -240,6 +242,10 @@ export class Radio implements ComponentInterface, Loggable { private onKeydown = (ev: any) => (this.keyboardMode = FOCUS_KEYS.includes(ev.key)) + componentWillLoad() { + this.isEmptyHandler() + } + /** * RENDER * ------------------------------------------------------ @@ -272,6 +278,7 @@ export class Radio implements ComponentInterface, Loggable { }} onClick={this.onClick} > + g{' '} ({

Other Label

- +