0

form not changing dirty status for collection

asked 2015-06-05 07:43:16 +0800

JustinFrost gravatar image JustinFrost
139 1 6

I am using a form:

form="@id('formData') @load(vm.record)

The form contains a component which is bound to a collection on the formData:

<listcomponent items="@bind(formData.backpackItems)" />

However when a change is made to the collection in the component the list is bound back to the form, but the dirty status of the formData does not change.

@load(formDataStatus.dirty)

does not get called. Other properties on the form work fine.

Thanks.

delete flag offensive retag edit

Comments

please upgrade to zk8, there is more support for collections in the form object.

chillworld ( 2015-06-05 08:09:31 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-06-05 07:43:16 +0800

Seen: 8 times

Last updated: Jun 05 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More