feat(editor): Removing ph-no-capture class from some elements (#6674)

* feat(editor): Remove `.ph-no-capture` class from some of the fields
* ✔️ Updating test snapshots
*  Redacting expressions preview in credentials form
* 🔧 Disable posthog input masking
* 🚨 Testing PostHog iFrame settings
* Reverting iframe test
*  Hiding API key in PostHog recordings
*  Added tests for redacted values
* ✔️ Updating checkbox snapshots after label component update
* ✔️ Updating test snapshots in editor-ui
* 👕 Fix lint errors
This commit is contained in:
Milorad FIlipović
2023-07-19 16:51:49 +02:00
committed by GitHub
parent 250175d066
commit c3455a4ad8
46 changed files with 173 additions and 118 deletions

View File

@@ -85,11 +85,14 @@ export default defineComponent({
return this.size;
},
classes(): string[] {
const classes = [];
if (this.size === 'xlarge') {
return ['xlarge'];
classes.push('xlarge');
}
return [];
if (this.type === 'password') {
classes.push('ph-no-capture');
}
return classes;
},
},
methods: {