Last active
February 17, 2016 17:14
-
-
Save ShockiTV/12ef7a250a8669c1b00f to your computer and use it in GitHub Desktop.
how I would try to generate array field count on the fly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'arrayFieldName': { | |
... | |
autoform: { | |
afArrayField: { | |
options: function () { | |
const count = calculateCount(); | |
return { | |
initialCount: count | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment