-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submit functionality #32
Conversation
src/vaadin-message-input.js
Outdated
<vaadin-text-area value="{{text}}" placeholder="Message"></vaadin-text-area> | ||
<vaadin-button theme="primary contained" on-click="submitMessage">Send</vaadin-button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create vaadin-message-text-area
and vaadin-message-button
- see #28 (comment).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's meaningful to do in the scope of this PR.
I'll update #28 to have the responsibility for all these three cases.
- Rename `vaadinMessageInput.text` to `vaadinMessageInput.value`. - Rename `submitMessage()` to `_submit()`
Co-authored-by: Pekka Maanpää <pekkamaa@vaadin.com>
Co-authored-by: Pekka Maanpää <pekkamaa@vaadin.com>
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
Co-authored-by: Pekka Maanpää <pekkamaa@vaadin.com>
Fixes #17