Skip to content

Commit

Permalink
Merge pull request #214 from gushil/main-rfc-autocomplete-off
Browse files Browse the repository at this point in the history
Set autocomplete="off" for RFC fields
  • Loading branch information
svadla-oc authored Oct 7, 2024
2 parents a1914cd + df92969 commit 0abefc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/enketo-core/src/js/reasons.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
<header class="reason-for-change__header">
<h5>${t('fieldsubmission.reason.heading')}</h5>
<div class="question reason-for-change__header__apply-to-all">
<input class="ignore" type="text" name="common-rfc" placeholder="${t(
<input autocomplete="off" class="ignore" type="text" name="common-rfc" placeholder="${t(
'fieldsubmission.reason.placeholder1'
)}"/>
<div class="option-wrapper">
Expand Down Expand Up @@ -81,7 +81,7 @@ export default {
const fieldFragment = range.createContextualFragment(
`<div class="reason-for-change__item">
<span class="reason-for-change__item__label">${labelText}</span>${repeatNumberHtml}
<input class="ignore" type="text" placeholder="${t(
<input autocomplete="off" class="ignore" type="text" placeholder="${t(
'fieldsubmission.reason.placeholder2'
)}"/>
</div>`
Expand Down

0 comments on commit 0abefc5

Please sign in to comment.