0
SamirBoutazzout created
As the title says, I would like to customize the Claims component in angular, more specifically the "Value" input field. I would like it to be a dropdown list to select a value and assign it to the claim selected instead of the text input field. I looked into Replaceable Components but I couldn't find the Source Code of the default Claims component.
If anyone can direct me in the right direction to achieve my objective here, I would be very appreciative. Thank you
- ABP Framework version: v6.0.2 Commercial
- UI Type: Angular
- Database System: EF Core PostgreSQL
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
1 Answer(s)
-
0
you can modify the field with "Dynamic form extensions" feature. you mah read the documentation. https://docs.abp.io/en/abp/latest/UI/Angular/Dynamic-Form-Extensions here the value is.
{ type: ePropType.String, name: 'valueType', displayName: 'AbpIdentity::ValueType', sortable: true, columnWidth: 200, valueResolver: data => of(data.getInjected(ClaimsComponent).getTypeName(data.record.valueType)), },
contributor field name is
eIdentityComponents.Claims