Skip to content

Commit

Permalink
Add placeholder and input mx length
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcss committed Nov 13, 2024
1 parent 983571a commit 1f9642a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AddressVerifier/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function AddressVerifier () {
return (
<form className="pegin-address-verifier" onSubmit={checkAddress}>
<div className="d-flex flex-column gap-12 align-items-start flex-md-row align-items-md-center">
<input type="text" className="form-control form-control--xl" required={true} ref={inputRef}/>
<input type="text" className="form-control form-control--xl" required={true} ref={inputRef} maxLength={150} placeholder="Enter your BTC address"/>
<div className="d-flex gap-12">
<button type="submit" className="btn">Check</button>
<button type="reset" className="btn" onClick={clearForm}>Clear</button>
Expand Down

0 comments on commit 1f9642a

Please sign in to comment.