0
maharatha created
I want to add a drop down in Feature screen. How can i do that ? i am using Angular and Core
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
var regionFeature = context.Create( AppFeatures.RegionFeature, defaultValue: "US", displayName: L("Region"), inputType: new ComboboxInputType(RegionList()) ) private ILocalizableComboboxItemSource RegionList() { ILocalizableComboboxItem[] regComboboxItems = new ILocalizableComboboxItem[2]; regComboboxItems[0] = new LocalizableComboboxItem { DisplayText = L("US"), Value = "US" }; regComboboxItems[1] = new LocalizableComboboxItem { DisplayText = L("UK"), Value = "UK" }; ILocalizableComboboxItemSource comboboxItemSource = new StaticLocalizableComboboxItemSource(regComboboxItems); return comboboxItemSource; }The value is not showing up on the screen
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @maharatha, you need to add your featuer under
SetFeatures()ofAppFeatureProvider.csSee more details at https://aspnetboilerplate.com/Pages/Documents/Feature-Management
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)