Watch useForm keep in loop #1522
-
| Hello everyone, | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            lannodev
          
      
      
        Apr 19, 2023 
      
    
    Replies: 1 comment
-
| I found a solution: const formData = computed(() => {
  return form.data();
});
watch(
  formData,
  throttle(function (value) {
    form.get('/users', { preserveState: true });
  }, 200),
); | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        lannodev
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
I found a solution: