- Goal:
I am getting console error for the code
Error:addTourServicesPaymentMethod is not defined.
I also set value to "not defined" for this component before. And im always getting the error. But it shouldn't be, becouse everything work properly. The error just happens becouse default value is "not defined".
I also tried this
but it doesnt work