I would like to add the Ajax callback settings to my custom composite webform element in the twig file. Is this possible? The callback function is in my custom module. This is NOT a computed twig situation. The Webform is created entirely from D8 webform GUI.
Custom composite has qty, code, description, price. Using the callback to verify code and update the description and price. Could something like below be put in the twig file?
'#ajax' => ( 'callback' => 'validate_srvform_items', 'event' => 'change', 'progress' => array( 'type' => 'throbber', 'message' => t('Populating line item...'), )