We have a situation where we'd like to use a different Form Component (in this case a simple input field) for an existing Data type (the "Date and time" one). Is this possible?
This is what the Form Component looks like:
public class DateTimeInputComponent : FormComponent<DateTimeInputComponentProperties, DateTime>
This is what the properties look like:
public class DateTimeInputComponentProperties : FormComponentProperties<DateTime> { public DateTimeInputComponentProperties() : base(FieldDataType.DateTime) { }
but it's still not showing up as an option.
Is there any way to do this?
In the picture below, the "Datetime input" is the default one provided by Kentico. But we'd like to add a custom Form Component to that list of options.