Skip to content

Commit 88b604e

Browse files
authored
Merge pull request #2686 from AkshataKatwal16/release-1.15.0
Issue feat: Enable sdbv selection for learner creation in lmp
2 parents 8bc8388 + 61e2c29 commit 88b604e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mfes/scp-teacher-repo/src/shared/LearnerManage/LearnerManage.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ const LearnerManage = ({
144144

145145
const requiredKeys = isReassign
146146
? ['state', 'district', 'block']
147-
: ['state', 'district', 'block', 'center', 'batch'];
147+
: ['center', 'batch']; // Removed 'state', 'district', 'block' to keep them visible
148148
//set ui schema hide
149149
const updatedUiSchema = { ...alterUISchema };
150150
// Clone each key's config and set widget to 'hidden'
@@ -252,9 +252,9 @@ const LearnerManage = ({
252252
const blockIds = getSelectedValueIds('BLOCK');
253253
// const villageIds = getSelectedValueIds('VILLAGE');
254254
initialFormData = {
255-
state: stateIds,
256-
district: districtIds,
257-
block: blockIds,
255+
// state: stateIds,
256+
// district: districtIds,
257+
// block: blockIds,
258258
// village: villageIds,
259259
center: [localStorage.getItem('centerId')],
260260
batch: [cohortId],

0 commit comments

Comments
 (0)