260427_01_ENH: 리스트 다이얼로그 및 리스트 작업 시작
This commit is contained in:
@@ -238,7 +238,13 @@ const UserUpsertDialog = ({
|
||||
<KriSingleSelect
|
||||
items={userRoleArray}
|
||||
value={String(formData.userRole)}
|
||||
onChange={(e) => handleInputChange('userRole', Number(e))}
|
||||
onChange={(e) => {
|
||||
if(mode !== 'create'){
|
||||
alert("권한이 변경되면 해당 계정에 배정된 리스트 정보가 초기화 됩니다.");
|
||||
}
|
||||
|
||||
handleInputChange('userRole', Number(e));
|
||||
}}
|
||||
getLabel={(item) => item.label}
|
||||
getValue={(item) => String(item.value)}
|
||||
placeholder="사용자 권한"
|
||||
|
||||
Reference in New Issue
Block a user