Starts in:
1 DAY
19 HRS
49 MIN
20 SEC
Starts in:
1 D
19 H
49 M
20 S
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 v9.1.0-preview. Updated on November 20, 2024, 13:06