Skip to content

Commit

Permalink
fix: added autocomplete attribute in search and customer satisfaction…
Browse files Browse the repository at this point in the history
… fields (#768)
  • Loading branch information
sabrina-bongiovanni authored Sep 16, 2024
1 parent 261f7f3 commit e4dcf38
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const TextFilter = ({ value, id, onChange, placeholder }) => {
onChange={(e, data) => {
onChange(id, e.target.value ?? '');
}}
autocomplete="off"
/>
</div>
);
Expand Down
1 change: 1 addition & 0 deletions src/components/ItaliaTheme/Blocks/SearchSections/Body.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ const Body = ({ block, sections }) => {
e.key === 'Enter' ? navigate(inputText, searchFilters()) : null
}
aria-label={block.placeholder}
autocomplete="off"
></input>
</div>
<div className="buttonsContainer mt-2 d-flex">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const AnswersStep = ({
checked={s === selectedAnswer}
value={s}
onChange={handleAnswerChange}
autocomplete="off"
/>
<Label
for={'positive-' + s}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const CommentsStep = ({
invalid={invalid}
className="mt-1"
data-element="feedback-input-text"
autoComplete="off"
/>
</FormGroup>
</Form>
Expand Down

0 comments on commit e4dcf38

Please sign in to comment.