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

[ Bug Report ] Question related to message below [it-input] #259

Closed
ArishSultan opened this issue Aug 3, 2021 · 5 comments
Closed

[ Bug Report ] Question related to message below [it-input] #259

ArishSultan opened this issue Aug 3, 2021 · 5 comments

Comments

@ArishSultan
Copy link

Is your feature request related to a problem? Please describe.

First of all, i love the ui and animations (light and smooth), Now i have a question for you.

I noticed when i pass message prop its displays the message perfectly in every state. but the message disappears as i begin to type. is it expected, if it is then i don't think it makes sense.

Lets dive in it.

We already have placeholder, The placeholder is expected to disappear as the user begins typing.

The messages (hints) are normally expected to stay there forever or until user himself wants to make them go away.

Most suitable example here would be field validation. the danger message should persist below text field until user fixes the input. like typing email address etc.

Describe the solution you'd like

The solution would be to make it stay.

I have seen there is no validation support for it-input. well i did made a test component to behave as a wrapper component around it-input to provide a validations support and i might also make a [Form] component as in vuetify (i like the concept of validating all fields through ref).

I am willing to contribute.

Describe alternatives you've considered

Maybe we can give a prop to make it stay or let it be as it is now.

Additional context

I want your answer as soon as possible because i am working on an application.
@quatrochan
Copy link
Collaborator

The message doesn't disappear in "status" example here: https://quatrochan.github.io/Equal/components/input
Please provide example code.

@quatrochan quatrochan changed the title [ITS REALLY URGENT] Question related to message below [it-input] [ Bug Report ] Question related to message below [it-input] Aug 3, 2021
@quatrochan
Copy link
Collaborator

Equal UI is components only library. For validation you can use other libraries, like vee-validate.

@ArishSultan
Copy link
Author

Let me check again

@ArishSultan
Copy link
Author

Is there any plan for data tables?

@quatrochan
Copy link
Collaborator

Is there any plan for data tables?

Yep

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

No branches or pull requests

2 participants