我的代码中有一个选择列表,如下所示:
如果我尝试单击 Skype 频道中的任何选项,它不会被单击。在其他渠道中,它工作得非常好。(单击并键入选项)在 Skype 中,如果我键入选项,那么它将起作用。需要知道为什么单击在 Skype 频道中不起作用。有人遇到过类似的问题吗?
[Prompt("Can you spare few minutes to give your feedback? {||}")]
public FeedbackOptions? feedbackValue { get; set; }
[Prompt("Please provide your Feedback {||}")]
public string feedback { get; set; }
[Pattern(RegexConstants.Email)]
[Prompt("Please provide your Email ID.{||}")]
public string emailID { get; set; }
public string ReportRequest = string.Empty;
我的反馈表格如下所述:
var parser = new Parser();
return new FormBuilder<FeedbackForm>()
// .Message("Welcome to reporting information!!")
.Field(new FieldReflector<FeedbackForm>(nameof(feedbackValue))
.SetActive(state => state.AskToChooseReport) )
.Field(nameof(feedback), state => state.feedbackValue == FeedbackOptions.Sure)
.Field(nameof(emailID), state => state.feedbackValue == FeedbackOptions.Sure)
.Build();
谢谢和问候, 舍韦塔