Table Of Contents

Getting Started

Change Log

Requirement

Setup & Configuration

Technical Information

Code Editing

FAQ

Credits

FAQ > Not able to access Form Control Demo

Bug in V5.0 (.NET Core Project)


Sorry for this bug. Please do the following to solve the bug. Thank you!

  1. Go to **CustomHelper.cs** > CustomDropDown, add the following before selectedValue = (string.IsNullOrEmpty(selectedValue) ?:
**selectList = selectList == null ? new List<SelectListItem>() : selectList;** //add this line

selectedValue = (string.IsNullOrEmpty(selectedValue) ?
    selectList.FirstOrDefault(a => a?.Selected == true)?.Value : selectedValue ) ?? "";
if (!string.IsNullOrEmpty(selectedValue))
{
    input.Attributes.Add("value", selectedValue);
}
input.Attributes.Add("hidden", "");