Skip to content
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

Allow Setting Extended Property as ReadOnly on the UI for Blazor #16823

Merged
merged 5 commits into from
Jun 28, 2023

Conversation

EngincanV
Copy link
Member

@EngincanV EngincanV commented Jun 13, 2023

Description

Resolves #12249

I will update commercial modules too, when this PR is merged.

Checklist

  • I fully tested it as developer / designer and created unit / integration tests
  • I documented it (or no need to document or I will create a separate documentation issue)

How to test it?

Extend a property and set it as readonly for edit form. https://docs.abp.io/en/abp/latest/Object-Extensions#addorupdateproperty

ObjectExtensionManager.Instance
   .AddOrUpdateProperty<IdentityUser, string>("SocialNo", property => 
   {
       property.UI.EditForm.IsReadOnly = true;
   });

@codecov
Copy link

codecov bot commented Jun 13, 2023

Codecov Report

Merging #16823 (4795f47) into dev (121baef) will increase coverage by 0.00%.
The diff coverage is 87.50%.

@@           Coverage Diff           @@
##              dev   #16823   +/-   ##
=======================================
  Coverage   53.48%   53.49%           
=======================================
  Files        2981     2981           
  Lines       92225    92233    +8     
=======================================
+ Hits        49330    49337    +7     
- Misses      42895    42896    +1     
Impacted Files Coverage Δ
...Abp/ObjectExtending/ObjectExtensionPropertyInfo.cs 91.89% <87.50%> (-1.22%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@realLiangshiwei realLiangshiwei merged commit 4ce1a73 into dev Jun 28, 2023
5 checks passed
@realLiangshiwei realLiangshiwei deleted the EngincanV/blazor-extension-property branch June 28, 2023 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Setting Extended Property as ReadOnly on the UI
2 participants