Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachment controls should not allow the alert level and message to be overridden for size constraints #6232

Open
avernet opened this issue Mar 19, 2024 · 0 comments

Comments

@avernet
Copy link
Collaborator

avernet commented Mar 19, 2024

The Single File Attachment control supports a Maximum Attachment Size constraint, while the Multiple File Attachments control supports both Maximum Attachment Size per File and Maximum Aggregate Attachment Size constraints. When any of these constraints are not met, an error dialog is immediately displayed, and the file is rejected. Therefore, there is no concept of "level," and form authors cannot customize the error message.

Consequently, we should either hide or disable the Level and Alert Message options. I would recommend hiding them, as disabling might lead users to believe that the displayed value is in use but unchangeable. This is misleading because having a Level = Error is not equivalent to rejecting the file outright, and the message displayed to users is not "Missing or incorrect value."

Screenshot 2024-03-18 at 9 05 20 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Orbeon Forms 2023.1.3
Awaiting triage
Orbeon Forms 2024.1
Awaiting triage
Development

No branches or pull requests

1 participant