can you suggest me which configuration need to be set to change the "What do you want to change?" after saying no in confirmation at the end of the formflow? Thx
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
That message is part of the of the TemplateNavigation resources and a Template
in the FormConfiguration class is defined with the TemplateUsage.Navigation
as seen here.
The way to go is partially explained here with the only difference that you need to change the Template
to look for and that you don't need to change any command of the FormConfiguration
private static IFormBuilder<T> CreateCustomForm<T>() where T : class
{
var form = new FormBuilder<T>();
var templateAttribute = form.Configuration.Template(TemplateUsage.Navigation);
var patterns = templateAttribute.Patterns;
patterns[0] = "My prompt";
templateAttribute.Patterns = patterns;
return form;
}