Esempio n. 1
0
        protected override async Task OnFirstAfterRenderAsync()
        {
            await JSRunner.InitializeDatePicker(ElementRef, ElementId, new
            {
                InputMode      = InputMode,
                FirstDayOfWeek = FirstDayOfWeek,
                DisplayFormat  = DisplayFormat,
                Default        = FormatValueAsString(Date),
                Min            = Min?.ToString(DateFormat),
                Max            = Max?.ToString(DateFormat),
            });

            await base.OnFirstAfterRenderAsync();
        }