Skip to content
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

Merged
merged 15 commits into from
Feb 18, 2021
Merged

Submit functionality #32

merged 15 commits into from
Feb 18, 2021

Conversation

Peppe
Copy link
Contributor

@Peppe Peppe commented Feb 16, 2021

Fixes #17

src/vaadin-message-input.js Outdated Show resolved Hide resolved
src/vaadin-message-input.js Outdated Show resolved Hide resolved
src/vaadin-message-input.js Outdated Show resolved Hide resolved
src/vaadin-message-input.js Show resolved Hide resolved
test/message-input.test.js Outdated Show resolved Hide resolved
test/message-input.test.js Show resolved Hide resolved
src/vaadin-message-input.js Outdated Show resolved Hide resolved
Comment on lines 58 to 59
<vaadin-text-area value="{{text}}" placeholder="Message"></vaadin-text-area>
<vaadin-button theme="primary contained" on-click="submitMessage">Send</vaadin-button>
Copy link
Member

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).

Copy link
Contributor

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.

src/vaadin-message-input.js Show resolved Hide resolved
Jens Jansson and others added 4 commits February 17, 2021 12:55
- Rename `vaadinMessageInput.text` to `vaadinMessageInput.value`.
- Rename `submitMessage()` to `_submit()`
Co-authored-by: Pekka Maanpää <pekkamaa@vaadin.com>
src/vaadin-message-input.js Outdated Show resolved Hide resolved
test/message-input.test.js Outdated Show resolved Hide resolved
test/message-input.test.js Outdated Show resolved Hide resolved
test/message-input.test.js Outdated Show resolved Hide resolved
Peppe and others added 4 commits February 17, 2021 21:39
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
Co-authored-by: Pekka Maanpää <pekkamaa@vaadin.com>
@Peppe Peppe merged commit e13f97c into master Feb 18, 2021
@Peppe Peppe deleted the submit branch February 18, 2021 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vaadin-message-input submit functionality
3 participants