Why cant I make geist button type="submit"? #449
Answered
by
ofekashery
BekaArabidze
asked this question in
Q&A
-
Hello. I want to use type="submit" in my button component but geist does not let me do it. Also, I want to make my input component type=" number", but I ran a similar problem did I miss something or I cant make the geist button type="submit"? Thanks for helping |
Beta Was this translation helpful? Give feedback.
Answered by
ofekashery
Feb 13, 2021
Replies: 2 comments 1 reply
-
ah. Forget about this. I found it :ddddd |
Beta Was this translation helpful? Give feedback.
0 replies
-
As documented, you should use the <Button type="success" htmlType="submit">Success</Button> For <Input placeholder="Number Input" type="number" /> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ofekashery
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As documented, you should use the
htmlType
attribute to set theButton
HTML type. For example:For
Input
, use the regulartype
attribute: