-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dynamic Form] Always Show Required Field Validation Error In "FormDisplayMode.Edit" Mode #1775
Comments
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible. |
Hello, We are also facing the same error with version 3.18.1. @wuxiaojun514 Any update on the fix? Thanks, |
Hi @NishkalankBezawada I created a PR 1781 for it. But it seems waiting some other PR 1726 getting approval first. Right now my fix has not been merged into Dev branch yet |
Hi, @wuxiaojun514 do you have any news regarding to this bug? |
Hi @RobertSiE. I don't have any update on it. I saw the author of #1726 seems inactive for quite a long time, and several other PRs are also waiting for this pr to be resolved first. |
Any update on this issue |
Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ 3.17 ]. It works well in [3.16]
Dynamic Form refactored a lot in 3.17
Expected / Desired Behavior / Question
Ideally when you edit an existing item with "Dynamic Form", it should not show "You can't leave this blank." error if this field already has data.
Observed Behavior
When in Edit mode (PageType=6), Dynamic Form control will always show "You can't leave this blank." error on required field even it already has existing data on current item.
![image](https://private-user-images.githubusercontent.com/29603048/307710593-f1758253-8b4d-42f9-83f2-b0596e6e78df.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5MzgxMDIsIm5iZiI6MTcyNTkzNzgwMiwicGF0aCI6Ii8yOTYwMzA0OC8zMDc3MTA1OTMtZjE3NTgyNTMtOGI0ZC00MmY5LTgzZjItYjA1OTZlNmU3OGRmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDAzMTAwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk1Nzc3ZmIzYzBjMzM0N2ZmYjIwOTg4ZjAyZTBhZDUzY2MyMjg1Y2Q3YzE1ZWZiZTE3YWZmZWU5NzI0MjRhZmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.vA7mjlcKDye843fDGvaGNtSY4SSjWkQCR8q9yREwlEY)
Steps to Reproduce
Update EditForm Config in "serve.json" to point to this new created item, then launch it with edit form config
![image](https://private-user-images.githubusercontent.com/29603048/307713692-2e99a319-d462-49a4-a2a4-19c2ea805f00.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5MzgxMDIsIm5iZiI6MTcyNTkzNzgwMiwicGF0aCI6Ii8yOTYwMzA0OC8zMDc3MTM2OTItMmU5OWEzMTktZDQ2Mi00OWE0LWEyYTQtMTljMmVhODA1ZjAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDAzMTAwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjODNlOTM2NWI5NTQwZTY5ZmM0MGRkMGJlOWM1NTNjYTNhY2UxMzlhY2IyMjQyMGZkY2RhZTY1YTI3ZjA3YmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tGwvmqU0aJgL7SBVUYsfUpOxzOM790hua8Xom41Pm4s)
You will see "You can't leave this blank." error on this item even it already has data on this field
![image](https://private-user-images.githubusercontent.com/29603048/307717250-6f087020-87a2-4b82-adb6-d2bead411497.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5MzgxMDIsIm5iZiI6MTcyNTkzNzgwMiwicGF0aCI6Ii8yOTYwMzA0OC8zMDc3MTcyNTAtNmYwODcwMjAtODdhMi00YjgyLWFkYjYtZDJiZWFkNDExNDk3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDAzMTAwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYzMDNkODJlYzJlOTg3YjZkNjMzODEyNmY5OTNmNGY1NmIxODgyOWQwZmVlZjJjMjUxOTUxZWJjZDBjZDA4NDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2y2EwgaE81gO-jym6wOiBP5H8Eqi6G8u38zmnOvy21o)
The text was updated successfully, but these errors were encountered: