Bug - Can't set value of the 'flex' input on the 'ColumnComponent' component #500
Unanswered
pbaradziej
asked this question in
Q&A
Replies: 1 comment
-
It's an error on your side as you are passing inputs which has |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
After updating to version 10.3.0, whenever I open component with ndcDynamic, console error shows up.
Can't set value of the 'flex' input on the 'ColumnComponent' component. Make sure that the 'flex' property is annotated with @input() or a mapped @input('flex') exists.
I figured out that it shows because I don't have @input flex in ColumnComponent, because I don't need it there.
Only RowComponent uses @input flex.
<ndc-dynamic [ndcDynamicComponent]="getClassByType()"
[ndcDynamicInputs]="{
components: components,
justifyContent: justifyContent,
flex: flex,
title: title
}">
After checking your changes i figured out it is because of compRef.setInput line.
Do you plan on potentially fixing the problem of passing Inputs that are not used by every dynamic component, or is it my configuration error?
Beta Was this translation helpful? Give feedback.
All reactions