-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Description
Description:
When we try to add a custom sound in admin panel, the submit button gets enabled as soon as we enter a name. Making it possible for user to submit without uploading a file which results in an error "can not read property name of undefined".
Steps to reproduce:
- Go to the admin panel
- Go to custom sounds
- Try to add a custom sound without name.
Expected behaviour:
Submit button should remain disabled until both name and file is added.
Actual behavior:
Button gets enabled as soon as a name is added thus making it possible to submit form.

Server Setup Information:
- Version of Rocket.Chat Server:
- Operating System:
- Deployment Method:
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version:
Client Setup Information
- Desktop App or Browser Version:
- Operating System:
Additional context
Relevant logs:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels