USRMNG_Role
This commit is contained in:
parent
005f526798
commit
d29caf66c5
@ -1634,6 +1634,7 @@ class _CreateUserFormDetialsState extends State<CreateUserFormDetials> {
|
|||||||
},
|
},
|
||||||
onRoleChanged: (role) {
|
onRoleChanged: (role) {
|
||||||
setState(() {
|
setState(() {
|
||||||
|
print("Roleu $role");
|
||||||
selectedRole = role;
|
selectedRole = role;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@ -104,7 +104,6 @@ class PersonalDetailsState extends State<PersonalDetails> {
|
|||||||
bool _countryFocus = false;
|
bool _countryFocus = false;
|
||||||
bool _postalCodeFocus = false;
|
bool _postalCodeFocus = false;
|
||||||
bool _roleIdFocus = false;
|
bool _roleIdFocus = false;
|
||||||
bool iseditRole = true;
|
|
||||||
|
|
||||||
late bool isTravelAgent = false;
|
late bool isTravelAgent = false;
|
||||||
|
|
||||||
@ -167,10 +166,6 @@ class PersonalDetailsState extends State<PersonalDetails> {
|
|||||||
super.initState();
|
super.initState();
|
||||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||||
loadInitialData();
|
loadInitialData();
|
||||||
print("EDITP1- ${widget.isEditProfile}");
|
|
||||||
print("EDITP2- ${widget.isViewMode}");
|
|
||||||
|
|
||||||
// iseditRole = ;
|
|
||||||
});
|
});
|
||||||
apiCountryData = null;
|
apiCountryData = null;
|
||||||
|
|
||||||
@ -1909,7 +1904,7 @@ class PersonalDetailsState extends State<PersonalDetails> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
onChanged:
|
onChanged:
|
||||||
!widget.isEditProfile
|
widget.isViewMode
|
||||||
? null
|
? null
|
||||||
: (String? newValue) {
|
: (String? newValue) {
|
||||||
widget.errorMessages.remove("role_id");
|
widget.errorMessages.remove("role_id");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user