For a module I try in a record to reference a database connection.
What is the @FormField annotation to use ?
FormFieldType.REFERENCE or FormFieldType.SELECT or other ?
public record MySettingsResource(
@FormCategory("MyCategory")
@FormField(FormFieldType.REFERENCE)
@Label("Db connection")
@Required
@DefaultValue(???)
@Description("DB connection to use")
String dbConnection ???
)
{
...