How to set default value of input text? #2688
Closed
cfhoo-monster
started this conversation in
General
Replies: 1 comment
-
using defaultValue attribute works. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Setting up default value using attribute value makes input field un-editable.
<input type="text" placeholder="Type here" className="input input-bordered w-full max-w-xs" value="abc" />
Beta Was this translation helpful? Give feedback.
All reactions