input in modal doesn't work
I defined a modal in my form, but I doesn't work, I mean when I submit the main form the create-query doesn't include the input that I put in the modal,
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'price' cannot be null.
Solution:Jump to solution
After testing a lot of ways, Now this is the answer:
```php
....
Wizard\Step::make('First Step')
->schema([...
3 Replies
I am not 100% sure if the way you are implementing this is correct, but try adding "live" to the
TextInput
like this:
I'm also not really sure why you are trying to set the state of the price with its own state..
Doesnt really make sense@Andrew WalloThank you, but it still doesn't work,
And also I wanted to say that in modal there were a big form, but I summarized it to ask my question.
Solution
After testing a lot of ways, Now this is the answer: