Project

General

Profile

Cleanup #36375

Updated by Volker Theile over 5 years ago

If I try to create one user that already exists, the error message will only be displayed after pressing the submit button. 

 We should implement the same behavior that we have on Roles, where the error message is displays after the role name is filled. 

 Check out the RGW user form how it is implemented there: 
 https://github.com/ceph/ceph/blob/master/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.ts#L57 
 https://github.com/ceph/ceph/blob/master/src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-user.service.ts#L130

Back