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

Setting ui save button is not show #11

Closed
jonny-xhl opened this issue Jun 11, 2020 · 6 comments
Closed

Setting ui save button is not show #11

jonny-xhl opened this issue Jun 11, 2020 · 6 comments

Comments

@jonny-xhl
Copy link

I run the simple MyAbpApp and didn't show save button.
Check the element button,the button is abp-button.What's the problem?
image

@jonny-xhl
Copy link
Author

When I change abp-button to button and add class then show normal.
image

@wakuflair
Copy link
Member

Something is wrong, I'll look at it.

@jonny-xhl
Copy link
Author

I provide code blocks for reference.
Change the ViewComponent view tag-helper to element.

<div class="card">
            <div class="card-header">
                <h4>@L[group.Key]</h4>
            </div>
            <div class="card-body">
                @foreach (var settingHtmlInfo in group)
                {
                    <label for="@settingHtmlInfo.Name">@settingHtmlInfo.DisplayName</label>
                    @await Html.PartialAsync($"~/Pages/Components/Partials/_{settingHtmlInfo.Type.ToPascalCase()}.cshtml", settingHtmlInfo)
                }
                <button type="submit" class="btn btn-primary float-right">@L["Save"].Value</button>
            </div>
</div>

@wakuflair
Copy link
Member

OK. I fixed it.

The reason is because the abp tag helpers are not imported.
So all the abp- tag helpers didn't work.(not only the abp-button, but also abp-card, eg.)

Now they worked as expected:
image

I will release a new version to solve this issue, Thank you for using this module.

@wakuflair
Copy link
Member

Hi @jonny-xhl
The new packags v1.0.7 have been released, please update to check if the issue is resolved.
Feel free to comment if there's still anything wrong.

@jonny-xhl
Copy link
Author

Hi @jonny-xhl
The new packags v1.0.7 have been released, please update to check if the issue is resolved.
Feel free to comment if there's still anything wrong.

Ok,thks.

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

No branches or pull requests

2 participants