I need to add and support an additional field when creating LDAP.
At this point, I have modified
LdapSettingsSearching.tsx
<FormGroup
label={t("users-ldap")}
fieldId="users-ldap"
labelIcon={
<HelpItem
helpText={t("users-ldap")}
fieldLabelId="users-ldap"
/>
}
>
<MultiLineInput
id="users-ldap"
name="config.usersToAdd"
aria-label={t("users-ldap")}
addButtonLabel="addUser"
/>
</FormGroup>
and extended LDAPStorageProviderFactory.java
...
.property().name("usersToAdd")
.type(ProviderConfigProperty.MULTIVALUED_STRING_TYPE)
.add()
...
and the field appears where it should, however after saving the component the field does not retain its value.
I am able to access this value in e.g. the onCreate method via model.getConfig().getList(‘usersToAdd’)
.
The value of the field is to be used by me to modify the filter field above.
What next steps should I take to be able to use the value from the field?