Duplicated
Last Updated: 23 Oct 2021 12:54 by ADMIN
Stewart
Created on: 20 Oct 2021 14:35
Category: Dialog
Type: Feature Request
0
Option to require input in Prompt Dialog
would be nice to be able to require input from the user if they are going to press OK in the prompt dialog, currently you don't require any input so the result is the same as cancel
Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Marin Bratanov
Posted on: 23 Oct 2021 12:54

Hi Stewart,

When no input is provided, the result should be different than pressing Cancel - empty string for no input, null for cancel.

At the moment, there is a bug in that, you can Follow it here: https://feedback.telerik.com/blazor/1536274-differentiate-cancel-and-ok-with-an-empty-textbox and I am marking this thread as a duplicate to that, because the core of the issue is telling the two user actions from one another.

If you need to have a popup that has a mandatory field, I recommend you wrap the TelerikWindow component in a component to provide the desired UX there, with the desired inputs, validation, messages and so on.

Regards,
Marin Bratanov
Progress Telerik

Remote troubleshooting is now easier with Telerik Fiddler Jam. Get the full context to end-users' issues in just three steps! Start your trial here - https://www.telerik.com/fiddler-jam.