Repository navigation
fix(input): use all supported attributes on both textareas and inputs - #12028
Merged
Merged
Conversation
Contributor
|
You right, thanks! will review it! in fact I think we should take a different approach in the future, since this does not scale really well hahah adding more and more attributes... |
Contributor
|
Hi. Regarding maxlength for ion-input and ion-textarea, was it your intention that the behaviour be: user types text and is not restricted during data entry, they leave the field, and field contents are then truncated to maxlength? To be clear, I am testing with livereload (ionic cordova run android -cl), and release builds, and neither of them restrict during data entry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Short description of what this resolves:
Checking out the amazing keyboard/input refactor by @manucorporat, I came across some inconsistencies in the attributes that are supported for
ion-inputandion-textarea.Changes proposed in this pull request:
autocompleteandautocorrectattributes for which theInput()s already exist.maxlength,spellcheckandautocapitalizeonion-textareas as well.Ionic Version: 3.x (nightly)