Equal-UI / Equal

Equal UI is a Vue 3 UI library empowered by Tailwindcss
https://equal-ui.github.io/Equal/
MIT License
1.21k stars 67 forks source link

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

Closed ArishSultan closed 3 years ago

ArishSultan commented 3 years ago

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 commented 3 years ago

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

quatrochan commented 3 years ago

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

ArishSultan commented 3 years ago

Let me check again

ArishSultan commented 3 years ago

Is there any plan for data tables?

quatrochan commented 3 years ago

Is there any plan for data tables?

Yep