Replies: 2 comments 1 reply
-
As this is relevant to the component please move the question to that repo: https://github.com/describo/crate-builder-component |
Beta Was this translation helpful? Give feedback.
1 reply
-
Moved to describo/crate-builder-component#31 |
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
-
Hi Marco,
I have tried using the crate-builder-component in a new simple Vue app.
I managed to get it running and displaying the crate data.
However I just found out that the crate data is bound only at top level.
For example, if you have
data.crate = { ... }
and pass it to:crate="data.crate"
, you can't do for example:data.crate['@graph'][7].name = 'abc'
, nordata.crate['@graph'][7].name
is updated when the value in the text box is changed.I know that we can use the @save:crate event to get the current/modified data.
But, is there a reason for not properly bound each nested property to its corresponding ui component?
It seems to be counterintuitive to how Vue component generally works.
Beta Was this translation helpful? Give feedback.
All reactions