0
maharatha created
I want to add a drop down in Feature screen. How can i do that ? i am using Angular and Core
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
-
0
Hi @maharatha, you need to add your featuer under
SetFeatures()
ofAppFeatureProvider.cs
See more details at https://aspnetboilerplate.com/Pages/Documents/Feature-Management