Graylog2 / Graylog2/graylog2-server

Create user submit button continuously in a loading state after catching an error

Open
#21,503 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

During creating a new user, if we catch an error, the submit button continuously has disabled and loading state. User has to reload page and try to create user again
Image

## Expected Behavior
After catching an error, the user can make some changes and click the submit button again

## Current Behavior
Submitting is blocked, so the user has to reload the page to try to create a new user again

## Possible Solution

## Steps to Reproduce (for bugs)

1. Open the Create New User page
2. Add some user data which can cause an error. For example, you can add an already existing `Username`
3. Click on the submit button.
4. Observe the create user submit button
5. The button has a loading state even after changing the username field
## Context

## Your Environment

* Graylog Version: 6.2
* Java Version:
* OpenSearch Version:
* MongoDB Version:
* Operating System:
* Browser version:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.