flows: add compatibility_mode to toggle ShadyDOM

closes #894

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-05 20:04:30 +02:00
parent e43e42139a
commit 86b450c6d1
11 changed files with 88 additions and 7 deletions

View File

@ -146,6 +146,15 @@ export class FlowForm extends ModelForm<Flow, string> {
<p class="pf-c-form__helper-text">${t`Background shown during execution.`}</p>
</ak-form-element-horizontal>`;
}))}
<ak-form-element-horizontal name="compatibilityMode">
<div class="pf-c-check">
<input type="checkbox" class="pf-c-check__input" ?checked=${first(this.instance?.compatibilityMode, true)}>
<label class="pf-c-check__label">
${t`Compatibility mode`}
</label>
</div>
<p class="pf-c-form__helper-text">${t`Enable compatibility mode, increases compatibility with password managers on mobile devices.`}</p>
</ak-form-element-horizontal>
</form>`;
}