-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
Description
Which Umbraco Forms version are you using? (Please write the exact version, example: 13.4.0)
v15.x
Which Umbraco version are you using? (Please write the exact version, example: 13.5.2)
v15.x
Issue summary
Hi,
My company is currently looking at using pre value sources to populate dropdowns, multiselects and radio options.
We are trying to use the PreValue source concept as it fits quite well into our use case of having to retrieve data dynamically.
However, there does not seem to be an options to pre select values which would be quite a useful option to have as it becomes convoluted trying to use JS to perform the same function:
[Serializable]
public class PrevalueViewModel
{
//
// Summary:
// Gets or sets the prevalue's Id.
public string Id { get; set; } = string.Empty;
//
// Summary:
// Gets or sets the prevalue's value.
public string Value { get; set; } = string.Empty;
//
// Summary:
// Gets or sets the prevalue's caption.
public string? Caption { get; set; }
}
A simple boolean flag on PreValue.cs which is mapped into PrevalueViewModel.cs would be very useful.
Thanks,
Dean
Specifics
No response
Steps to reproduce
N/A
Expected result / actual result
N/A