Skip to content

[FIX] Incorrect error message when creating channel#6747

Merged
rodrigok merged 1 commit into
RocketChat:developfrom
gdelavald:incorrect-error-message-on-create-channel
Apr 24, 2017
Merged

[FIX] Incorrect error message when creating channel#6747
rodrigok merged 1 commit into
RocketChat:developfrom
gdelavald:incorrect-error-message-on-create-channel

Conversation

@gdelavald

Copy link
Copy Markdown
Contributor

@RocketChat/core

Closes #6711

The validation method wasn't being able to find the actual label for the inputs since it was changed from 'label' to 'span' in the html in a previous commit. So I rolled back the label versions since, in my opinion, it makes more sense than having the 'span's there. Changed the css selector as well and removed some console logging.

Message when trying to create a channel with empty name:
correct error message

@engelgabriel engelgabriel added this to the 0.56.0 milestone Apr 24, 2017
@engelgabriel engelgabriel requested a review from karlprieb April 24, 2017 17:22
@rodrigok rodrigok merged commit 1ced54e into RocketChat:develop Apr 24, 2017
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.

3 participants