I have created custom component with dialog with one text field. I am trying to fetch text field value in js which gets called on clicking of validate button to validate the entered text field value by author. But I am unable to fetch dialog field value.
I have tried these:
But it is not working. Nothing observed in error logs.
The best and awesome way that I found to get any dialog data in JS using in Jquery is using Coral UI. Using this you can get any single field or multifield data. It's really fast and smooth. Checkout Jquery on dialog values to fetch the dialog values in JS using Jquery.
You can reach out to me as well, I have done a lots of customization on Coral UI. Happy Coding!!