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

feature/button_htmlType add htmlType prop on button #246

Closed ravshan01 closed 1 year ago

ravshan01 commented 3 years ago

Hello. Added the ability to specify the type of property on the button. This is great when used in forms. I really need this in my current project in order to leave the standard validation.

Sorry for my bad english

quatrochan commented 3 years ago

I consider to change type prop name for it-button to not override default html button attributes

ravshan01 commented 3 years ago

I think it's good too. The same is done in the popular ui-framework - ant-design

HipyCas commented 1 year ago

As a workaround until something is done, for me setting attr-type acts as HTML's type attribute (in my case in a form).