Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
The input inside ion-searchbar does not support all possible attributes.
<ion-searchbar animated="true" search-icon="code-working-outline" aria-label="Spoken Language Text" placeholder="Enter Text" autocomplete="off" autocorrect="off" spellcheck="false" autofocus dir="auto" aria-autocomplete="list" autocapitalize="off" data-gramm_editor="false" lang="en" maxlength="100">
Results in:
<input aria-label="search text" placeholder="Enter Text" autocomplete="off" autocorrect="off" spellcheck="false">
Expected Behavior
Should inherit attributes from ion-searchbar.
Input should also have
autofocus dir="auto" aria-autocomplete="list" autocapitalize="off" data-gramm_editor="false" lang="en" maxlength="100"
Steps to Reproduce
Create an ion-searchbar:
<ion-searchbar animated="true" search-icon="code-working-outline" aria-label="Spoken Language Text" placeholder="Enter Text" autocomplete="off" autocorrect="off" spellcheck="false" autofocus dir="auto" aria-autocomplete="list" autocapitalize="off" data-gramm_editor="false" lang="en" maxlength="100">
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 7.1.1
Utility:
cordova-res : 0.15.4
native-run : 1.7.2
System:
NodeJS : v18.15.0
npm : 9.6.7
OS : macOS Unknown
Additional Information
No response