feat(alert):adding alert multi line input#16851
feat(alert):adding alert multi line input#16851liamdebeasi merged 18 commits intoionic-team:masterfrom
Conversation
|
When is this getting merged? |
There was a problem hiding this comment.
I think there needs to be a discussion as to what the final API should look like, but looks good so far! Left a few comments below.
Are there any other props for textarea that we should support? Maybe @brandyscarney has some ideas here. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
|
Also, can you fix the merge conflicts? Thanks! |
|
I plan to work on these changes at the weekend. |
A case where the user can resize a textarea to be so small the placeholder gets cut off A case where the user can resize horizontally and then the textarea is partially out of view in the alert.
|
Done. |
liamdebeasi
left a comment
There was a problem hiding this comment.
Hey there,
Sorry for the delay in reviewing. This is looking great! Could you add another test to basic/index.html?
Also, the resize: vertical doesn't seem to be working. I was thinking of just getting rid of resize altogether since ion-textarea doesn't have it. Thoughts @brandyscarney?
|
@liamdebeasi That sounds good. I think this addition is misleading:
|
I thought about this |
|
any updates here ! |
|
Any updates? |
brandyscarney
left a comment
There was a problem hiding this comment.
Besides testing out the UI, I think this is fine to add once merge conflicts and comments are addressed. 🙂
|
The code updates look good! We just need to test out the UI and then the merge conflicts need to be resolved. I'll add this to our needs review! |
|
@tawfiek Is there any way you can fix the merge conflicts on this? I attempted to but it wouldn't let me push to your remote. |
|
UI looks good. 👍 Just need to fix the merge conflicts. |
Merging master of ionic team.
# Conflicts: # core/src/components/alert/alert.tsx # core/src/components/alert/readme.md # core/src/components/alert/test/preview/index.html # core/src/components/alert/usage/javascript.md # core/src/components/input/readme.md
|
I am done, but the CI builds fail in |
|
@tawfiek You need to run |
liamdebeasi
left a comment
There was a problem hiding this comment.
Can you also add a test for this? You can just add the following to alert/test/basic/index.html:134
{
type: 'textarea',
placeholder: 'Placeholder 4',
value: 'Textarea hello'
},After that we should be good to merge.
|
@tawfiek Thanks so much for your patience and working with us on this. 🎉 |
Short description of what this resolves:
Adds the possibility to add a textarea in ion alert.
Changes proposed in this pull request:
Android

IOS

Version: 4.0.0-beta.19
Fixes: #14153