Bug #20036
FE - React - User Role - Issue when modify the form it will add new data
Status: | Feedback | Start date: | 12 March 2024 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | chok yee fan | % Done: | 100% | |
Category: | - | Spent time: | - | |
Target version: | - |
Description
Issue :
Go to User Role in the menu -> click search button -> click data in the table -> click modify button -> change the value -> click save button -> the data in the table has been add new one.
Expected :
Go to User Role in the menu -> click search button -> click data in the table -> click modify button -> change the value -> click save button -> the data in the table should been modified.
History
#1 Updated by Zaid Haritsah 10 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Please change the modify function for RoleName field to Read-Only. RoleName is the PK for userRole table and should not be updateable.
#2 Updated by Zaid Haritsah 10 months ago
- Assignee changed from Zaid Haritsah to Hazimi Muhammad
#3 Updated by Hazimi Muhammad 10 months ago
- Status changed from Resolved to Assigned
- Assignee changed from Hazimi Muhammad to Nityanantan Nityanantan
#4 Updated by Nityanantan Nityanantan 10 months ago
- Status changed from Assigned to Feedback
- Assignee changed from Nityanantan Nityanantan to Hazimi Muhammad
nity- Update UserRoleForm.tsx to disable user role name in view mode
#5 Updated by Hazimi Muhammad 10 months ago
- Assignee changed from Hazimi Muhammad to chok yee fan
issue has been fixed
Go to User Role in the menu -> click search button -> click data in the table -> click modify button -> change the value -> click save button -> the data in the table should been modified.