Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

acx-scorecard inside a material-expansionpanel #427

Open
stephan-gruen opened this issue Aug 1, 2019 · 1 comment
Open

acx-scorecard inside a material-expansionpanel #427

stephan-gruen opened this issue Aug 1, 2019 · 1 comment

Comments

@stephan-gruen
Copy link

You can not put a acx-scorecard inside a material-expansionpanel. The scorecard will be always shown as part of the name/title of the expansionpanel, not as content.

dependencies:
  angular: ^6.0.0-alpha
  angular_components: ^0.14.0-alpha
<material-expansionpanel flat name="Test" [showSaveCancel]="false">
  <material-input floatingLabel  label="Im content"></material-input>
  <acx-scorecard
            label="Im part of the title"
            value="123"
            description="123"
            changeType="NEGATIVE">
  </acx-scorecard>
</material-expansionpanel>
@TedSander
Copy link
Contributor

[value] is the selector for the content of the expansionpanel. I don't see us changing this anytime soon as it is a breaking change, but that is going to conflict with acx-scorecard. Renaming either will be a big breaking change that we would need to change a ton of files.

I think you can either change it to an expression [value]="foo" or add an element as a parent to the scorecard to work around this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants