London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi
I have created a criterion to be used in visitor groups. The criterion has three properies: Key (input field), Condition (dropdown), and Value (input field).
The three properties are declared like this in my model (inheriting from CriterionModelBase):
[Required]
public string Key { get; set; }
[Required, DojoWidget(SelectionFactoryType = typeof(EnumSelectionFactory), AdditionalOptions = "{ selectOnClick: true }")]
public RequestHeaderValueCondition Condition { get; set; }
public string Value { get; set; }
Key is always to be shown, but suppose I only want to show Value, depending on what is selected in the Condition-dropdown. Is this possible?