Open Closed

auto generated crud create/edit modals in leptonX #4170


User avatar
0
selcukdurann@gmail.com created
  • ABP Framework version: v6.0.2
  • UI type: MVC
  • DB provider: EF Core

how can we specialize auto generated crud form create/edit modals with multiple columns ? we want to display [label & field] in same row. is it possible in crud operations ?

using ABP suite, MVC EFCore, UI: LeptonX

is there any leptonX theme specialization documentation for auto generated crud operations?


1 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi,

    You can change the generated *.cshtml files to change the modal's appearance.

    we want to display [label & field] in same row. is it possible in crud operations ?

    You can use suppress-label to remove the label. <abp-input asp-for="@Model.MyModel.Name" suppress-label="true"/>

    and then add the label and field manually into a row:

    <div class="row">
        <div class="col col-3">
            <label for="MyModel_Name">Name</label>
        </div>
        <div class="col col-9">
            <abp-input asp-for="@Model.MyModel.Name"/>
        </div>
    </div>
    
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11