Skip to content

Create TextAreaExtensionProperty to support multiline object extension for blazor ui #22936

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

Merged
merged 1 commit into from
May 26, 2025

Conversation

EngincanV
Copy link
Member

Description

Resolves #22935

image

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?

        ObjectExtensionManager.Instance.Modules()
            .ConfigureIdentity(identity =>
            {
                identity.ConfigureUser(user => user
                    .AddOrUpdateProperty(typeof(string), "Biography", property =>
                    {
                        property.Attributes.Add(new DataTypeAttribute(DataType.MultilineText));
                        property.UI.OnTable.IsVisible = true;
                        property.UI.OnCreateForm.IsVisible = true;
                        property.UI.OnEditForm.IsVisible = true;

                    })
                );
            });

@maliming maliming requested a review from yagmurcelk May 22, 2025 00:08
yagmurcelk

This comment was marked as resolved.

@EngincanV
Copy link
Member Author

EngincanV commented May 23, 2025

  • The layout breaks in the "View details" modal when a long biography text is added.

image

Fixed with https://github.com/volosoft/volo/pull/20032 / You can merge this, it's not related to this PR. FYI @yagmurcelk

@EngincanV EngincanV requested a review from yagmurcelk May 23, 2025 16:48
@yagmurcelk yagmurcelk merged commit 7160a9b into dev May 26, 2025
3 checks passed
@yagmurcelk yagmurcelk deleted the issue-22935 branch May 26, 2025 05:38
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.

DataType.MultilineText should be covered for Blazor UI (Object Extension)
3 participants