Skip to content

Update sfpegRecordEditFlw.js For Handling Null values#11

Open
utsav-gargsh wants to merge 1 commit intopegros:masterfrom
utsav-gargsh:patch-1
Open

Update sfpegRecordEditFlw.js For Handling Null values#11
utsav-gargsh wants to merge 1 commit intopegros:masterfrom
utsav-gargsh:patch-1

Conversation

@utsav-gargsh
Copy link

for fixing bug - if we try to remove any value from the field then it doesnt include that field in new record list.

Because the value returned is undefined so it doesnt include that field where value is being removed. So if user tries to remove lookup then it will not allow that.

Solution: If its undefined then override it with null this way it will be automatically included in the newRecord List which in turn be returned to output then that can be updated later.

for fixing bug - if we try to remove any value from the field then it doesnt include that field in new record list.


Because the value returned is undefined so it doesnt include that field where value is being removed. So if user tries to remove lookup then it will not allow that.

Solution: If its undefined then override it with null this way it will be automatically included in the newRecord List which in turn be returned to output then that can be updated later.
@utsav-gargsh utsav-gargsh changed the title Update sfpegRecordEditFlw.js Update sfpegRecordEditFlw.js For Handling Null values Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant