View::make() not working properly inside of wizard
issue: stripe element not get loaded inside of view make
Actually i want to integrate the stripe payments , so i need to generate card token using their js element code (https://codepen.io/Dracarys115/pen/OzjxVg)
code- https://gist.github.com/ckbsbal/87db36c930c0a4434485d6b9b6567b64
Actually i want to integrate the stripe payments , so i need to generate card token using their js element code (https://codepen.io/Dracarys115/pen/OzjxVg)
- I have to make the card payment inside of a multi step wizard and i have to implement the stripe card element in the second step
- So i have created a different blade for stripe element and placed that using View:make()
- But the problem is stripe js elements are not loading in second step. If i put the view in first step it is showing but when i select or update any value in the form the stripe element not loaded
- i think its also happening with when i am changing the step
code- https://gist.github.com/ckbsbal/87db36c930c0a4434485d6b9b6567b64
Solution
That’s because it’s re-rendering it which is how livewire works with reactive. So on rendering it would need to then process again

