I have used Javascript to update the widget's email as we know it within the application, however when I try to submit the values have not been validated therefore the input has an outline as if it is empty, does the widget not verify values of inputs until a user has interacted with the input?
For reference I am adding in default summary and Email like below
iframe.current.contentDocument?.querySelector("#email");
if (emailInput && user) {
emailInput.value = ` ${user.email} \n`;
}
But as you can see from the photo it is suggesting I need to input something into the input
Hello @[deleted],
Welcome to the Atlassian Community!
When using the widget, currently, it's not possible to pre-populate fields. We understand that you would like their account to be automatically added to the field, but this functionality is not supported, they will have to type their email address.
There is a feature request suggesting the implementation of this ability:
Please, click on vote and watch to receive updates about the feature.
For help with your Javascript, you can reach out to our Developer Community:
Kind regards,
Angélica
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.