Can't get value of input field when submitting modal.
I'm not sure why I'm not getting state of another field here, basically I press on button and then modal opens with a new input field, then when I click on submit, I want to get that fields value, but I keep getting null when submitting - any ideas? When dumping $get('responseAskAI') I always get null for that input field.
3 Replies
images.
Inject array $data
Okay, I figured out I need to pass $data in function. Now it's ok