The autofocus attribute of `preserve` input makes the form become touched
after the view is loaded. Removing it to avoid
ExpressionChangedAfterItHasBeenCheckedError.
Fixes: https://tracker.ceph.com/issues/46413
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Co-authored-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit
92f94bd71290d6e2016f56812c417d972cd7b632)
class="custom-control-input"
name="preserve"
id="preserve"
- formControlName="preserve"
- autofocus>
+ formControlName="preserve">
<label class="custom-control-label"
for="preserve"
i18n>Preserve OSD ID(s) for replacement.</label>