Ionic-framework: feat: Add ability to specify "enterkeyhint" attribute on ion-input and ion-searchbar components

Created on 14 Apr 2020  路  2Comments  路  Source: ionic-team/ionic-framework

Ionic version:
[x] 5.x

Describe the Feature Request
Now that both Chrome and Safari support the "enterkeyhint" attribute on the <input> element, we could use it to specify the appearance of the Enter button when the virtual keyboard appears.

Describe Preferred Solution
The ion-input component accepts an "enterkeyhint" prop that is passed down to the underlying HTML element.

Additional Context
Reference: https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-enterkeyhint-attribute

core feature request

Most helpful comment

Thanks for the issue. This has been resolved via https://github.com/ionic-team/ionic/pull/21035 and https://github.com/ionic-team/ionic/pull/21036. This feature will be available in an upcoming release of Ionic Framework.

All 2 comments

Thanks for the issue. This has been resolved via https://github.com/ionic-team/ionic/pull/21035 and https://github.com/ionic-team/ionic/pull/21036. This feature will be available in an upcoming release of Ionic Framework.

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gio82 picture gio82  路  3Comments

GeorgeAnanthSoosai picture GeorgeAnanthSoosai  路  3Comments

vswarte picture vswarte  路  3Comments

fdnhkj picture fdnhkj  路  3Comments

giammaleoni picture giammaleoni  路  3Comments