You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we have resolved #687, Frontend will render a link for an XLSForm warning ending with "Learn more: [some URL]". It would be great if we could do the same thing for an XLSForm error. For example:
It's not easy to take the same approach here as we did for #687 because right now, the FormNew component doesn't itself render the error. Instead, this.request() in FormNew shows the alert by using the alert object in the container, which causes the Alert component in the Modal component to be shown. The only role that FormNew plays is extracting the error message from the details property of the Problem response and prefixing it with the string "The XLSForm could not be converted:". It does that using the problemToAlert option passed to this.request().
The text was updated successfully, but these errors were encountered:
Now that we have resolved #687, Frontend will render a link for an XLSForm warning ending with "Learn more: [some URL]". It would be great if we could do the same thing for an XLSForm error. For example:
It's not easy to take the same approach here as we did for #687 because right now, the
FormNew
component doesn't itself render the error. Instead,this.request()
inFormNew
shows the alert by using thealert
object in the container, which causes theAlert
component in theModal
component to be shown. The only role thatFormNew
plays is extracting the error message from thedetails
property of the Problem response and prefixing it with the string "The XLSForm could not be converted:". It does that using theproblemToAlert
option passed tothis.request()
.The text was updated successfully, but these errors were encountered: