resolveProps in arrayfield #1283
              
                Unanswered
              
          
                  
                    
                      tiagozaccaro
                    
                  
                
                  asked this question in
                Need help
              
            Replies: 1 comment
-
| @tiagozaccaro if you want to listen (spy) on values and you want to have them up to date we recommend using the  https://data-driven-forms.org/examples/value-listener#heading-formspyexample I would probably see this as a new custom component, that would spy on the form state and calculate and display the value. If you wish to integrate this sum into the field array, you will have to create a custom implementation for it. Proprietary props outside of the field array scope are nothing that is not possible to do the default field array components. https://data-driven-forms.org/components/field-array#heading-fieldarray | 
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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
how to use resolveProps in a input inside an arrayfield.
Exemple:
I have a arrayfield with 2 lines and in both lines I have (Price, Tax and Total)
How can I calculate total for each line based on Price and Tax?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions