Completed
Last Updated: 06 Dec 2022 09:39 by ADMIN
Release 4.0.0 (18 Jan 2023) (R1 2023)
Created by: Douglas
Comments: 0
Category: Form
Type: Feature Request
11
It will be beneficial to have an event that is fired on update of the Model. Currently, the only workaround is to use the FieldChanged event of the EditContext.
Unplanned
Last Updated: 28 Oct 2022 08:05 by Ron Hary
Created by: Ron Hary
Comments: 0
Category: Form
Type: Feature Request
2
Please add the ability to use hidden inputs in the Form and configure them at model class level, e.g. via the HiddenInputAttribute - [HiddenInput]. Currently one needs to use a FormItem Template.
Under Review
Last Updated: 31 Aug 2022 12:10 by ADMIN
Created by: Stewart
Comments: 3
Category: Form
Type: Bug Report
1

Hi, 

I came across some unusual behaviour

I wanted to hide the default form submit button so I could put it elsewhere on the page but once I had an empty FormButton element on the page I was unable to print any more

<FormButtons></FormButtons>

a solution to my problem was to put an empty span in the element

<FormButtons><span></span></FormButtons>

Duplicated
Last Updated: 18 Jul 2022 17:15 by ADMIN

Virtually all web apps nowadays have support for masked inputs. Not quite sure why Telerik Blazor does not, but requesting it, since I can't really go live without it.

Ideally it should also work using data annotations on the model class using [DataType(DataType.Password)]. This way I don't have to specify the form fields and can just rely on the auto-generated form (like I am doing now). I have a lot of forms that have passwords, so it would be annoying to have to specify the fields for all of them.

Unplanned
Last Updated: 28 Jun 2022 08:19 by Daniel
Created by: Daniel
Comments: 0
Category: Form
Type: Feature Request
4
Please enable the TelerikForm to respect the Order Property on the DisplayAttribute if it is defined.
Completed
Last Updated: 30 May 2022 11:02 by ADMIN
Release 3.4.0
Created by: Marc Simkin
Comments: 0
Category: Form
Type: Feature Request
5
I want to be able to style some of its elements in a specific way and I cannot target them at the moment.
Unplanned
Last Updated: 11 May 2022 12:54 by Michelle
I would like to be able to easily define the position of the ValidationSummary in the Form. 
Completed
Last Updated: 11 Apr 2022 13:23 by ADMIN
Release 3.2.0

As per the current component configuration, when the EditContext changes, the Form descendants are not disposed and recreated. Thus when the change occurs, you need to explicitly add any validation (be that DataAnnotationsValidation or custom one).

This request serves for indicating research on how the Form behavior could be improved upon changing the EditContext.

Completed
Last Updated: 11 Apr 2022 11:51 by ADMIN
Release 3.2.0

The Validation does not trigger when I load my model from an async method.

 

<AdminEdit>

A workaround for the time being:

@inject HttpClient http
@using System.ComponentModel.DataAnnotations

<TelerikForm @ref="@EditForm" 
             Model="@TheCatFactTelerik" 
             ValidationMessageType="@FormValidationMessageType.None">
    <FormValidation>
        <ValidationSummary />
    </FormValidation>
    <FormItems>
        <FormItem Field="fact">
        </FormItem>
    </FormItems>
    <FormButtons>
        <TelerikButton ButtonType="ButtonType.Submit" Primary="true">Apply</TelerikButton>
    </FormButtons>
</TelerikForm>

@code {
    public TelerikForm EditForm { get; set; }

    public CatFact TheCatFactTelerik = new CatFact();

    public EditContext editContext { get; set; }

    protected async override Task OnInitializedAsync()
    {
        TheCatFactTelerik = await http.GetFromJsonAsync<CatFact>("https://catfact.ninja/fact");
    }

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        EditForm.EditContext.AddDataAnnotationsValidation();
    }

    public class CatFact
    {
        [Required(ErrorMessage = "Required Error Text")]
        [MinLength(10, ErrorMessage = "Min Length 10")]
        public string fact { get; set; }
        public int length { get; set; }
    }
}

</AdminEdit>

Completed
Last Updated: 24 Feb 2022 19:21 by ADMIN
Release 3.1.0

Telerik TextBox for string is nice but what about something like [DataType(DataType.MultilineText)] for TextArea?

Forms should really come with Text Area.  It seems like a good one to do next.


Blazor Form Overview | Telerik UI for Blazor

---

ADMIN EDIT

An idea is that perhaps other data type annotations could be used - perhaps Date, DateTime, TIme can switch different date/time pickers, Html can generate the HTML editor, Password can set a textbox with the Password type

---

Unplanned
Last Updated: 18 Feb 2022 06:53 by ADMIN
Created by: Pingu
Comments: 1
Category: Form
Type: Feature Request
4

Would be greate if we could expose ValidateOn to FormItem's. That way we could put:

<FormItem ValidateOn="ValidationEvent.Change" />

Rather than needing to specify a template, which feels a little unnecessary. If the datatype for the FormItem uses a field that doesn't use ValidateOn, it can simply be ignored, but for things like strings, numbers etc this would be useful.

Also a top level ValidateOn in the TelerikForm component could be useful, so you can set it once for the form, then maybe override it more granularly.

Unplanned
Last Updated: 11 Dec 2021 09:46 by ADMIN
Created by: billy
Comments: 2
Category: Form
Type: Feature Request
13

I would like to change the location of the Form Buttons. Instead of having them at the bottom of the form, I would like them to be at the top of the form. 

Please allow customizing of the Form Buttons position.

===========

ADMIN EDIT

===========

If you want to position the Form Buttons on top of the Form you can try the following approach - use FormItem Template and place the desired buttons in it. For example:

 

@using System.ComponentModel.DataAnnotations

<TelerikForm EditContext="@theEditContext" OnValidSubmit="@OnValidSubmitHandler" Width="200px">
    <FormItems>
        <FormItem>
            <Template>
                <TelerikButton ButtonType="@ButtonType.Submit" Primary="true">Submit</TelerikButton>
                <TelerikButton ButtonType="@ButtonType.Button" OnClick="@ClearButton">Clear</TelerikButton>
            </Template>
        </FormItem>
        <FormItem Field="FirstName"></FormItem>
        <FormItem Field="LastName"></FormItem>
        <FormItem Field="DOB"></FormItem>
    </FormItems>
    <FormButtons>
    </FormButtons>
</TelerikForm>

@code {
    private void ClearButton()
    {
        person = new Person();
        CreatedEditContext(person);
    }

    void CreatedEditContext(Person model)
    {
        theEditContext = new EditContext(model);

        theEditContext.AddDataAnnotationsValidation();
    }

    Person person { get; set; } = new Person();
    EditContext theEditContext { get; set; }

    protected override async Task OnInitializedAsync()
    {
        person = new Person();
        
        CreatedEditContext(person);
    }

    async Task OnValidSubmitHandler()
    {
        Console.WriteLine($"SAVING {person.FirstName} {person.LastName} who was born on {person.DOB}");
    }

    public class Person
    {
        [Required]
        public string FirstName { get; set; }
        [Required]
        public string LastName { get; set; }
        public DateTime DOB { get; set; }
    }
}

 

Unplanned
Last Updated: 30 Sep 2021 06:37 by ADMIN
Created by: Damien
Comments: 0
Category: Form
Type: Feature Request
2

Currently, the Form component does not provide indexer support, or binding to an item of collection. For reference of the feature, you could observe the following documentation of the WPF suite:

https://docs.telerik.com/devtools/wpf/controls/radpropertygrid/features/indexer-support

Completed
Last Updated: 30 Aug 2021 05:16 by ADMIN
Created by: Marcus
Comments: 1
Category: Form
Type: Feature Request
3

I need a way to use TelerikForms and make it responsive for various display sizes.

Here is what I'm trying to accomplish: I have a TelerikForm with 5 columns. it looks nice horizontally on the screen, but I need it to respond to screen size and start stacking vertically when the screen is shrunk.

 

 

Declined
Last Updated: 16 Mar 2021 15:58 by ADMIN
Created by: Stewart
Comments: 2
Category: Form
Type: Bug Report
0

I have a simple TelerikForm using required validation but for some reason when I set the model via an async call to the server the validation doesn't fire. I am using the same form when I add a new item and the validation is working fine.

 

1 2