fix(ui): don't show properties that are hidden and secret
Adds condition so that the property that is both hidden and secret is
not displayed.
Fixes
@@ -145,7 +145,7 @@ export class FormFactoryProviderService extends FormFactoryService {
type: string,
validators: {},
errorMessages: {}) {
- if (field.secret) {
+ if (field.secret && field.type !== 'hidden') {
type = 'password';
}
return new DynamicInputModel({
