Starts in:
1 DAY
16 HRS
32 MIN
17 SEC
Starts in:
1 D
16 H
32 M
17 S

(Blazor UI) Cms-Kit supports render widgets #13703

Description

Resolves #12403

image

image

Checklist

  • I fully tested it as developer / designer and created unit / integration tests
  • I've assigned reviewer, related labels and set a milestone for this PR

How to test it?

TodayComponent

<p>Welcome Today Component</p>
<p>@DateTime.Now.ToString(Format)</p>

@code{
   [Parameter]
   public string Format { get; set; }
}

FormatComponent

<div>
    <Field>
        <FieldLabel>Format</FieldLabel>
        <TextEdit @bind-Text="@Format" name="Format" Autofocus="true">
            <Feedback>
                <ValidationError/>
            </Feedback>
        </TextEdit>
    </Field>
</div>


@code {
    public string Format { get; set; } = "dd/MM/yyyy";
}
Configure<CmsKitContentWidgetOptions>(options =>
{
    options.AddWidget<TodayComponent, FormatComponent>("Today", "Today","Format");
});
Version
7.2.0-rc.1
Release Date
12 April, 2023
Labels
enhancement abp-module-cms-kit-pro