Update character count messages to use "characters left" for clarity
This commit is contained in:
parent
48d589d92c
commit
0cfe9cb917
@ -441,7 +441,7 @@ const ManageEmployee = () => {
|
||||
}}
|
||||
></textarea>
|
||||
<div className="text-end small">
|
||||
{500 - currentAddressLength} characters remaining
|
||||
{500 - currentAddressLength} characters left
|
||||
</div>
|
||||
{errors.CurrentAddress && (
|
||||
<div className="danger-text text-start" style={{ fontSize: "12px" }}>
|
||||
@ -467,7 +467,7 @@ const ManageEmployee = () => {
|
||||
}}
|
||||
></textarea>
|
||||
<div className="text-end small">
|
||||
{500 - permanentAddressLength} characters remaining
|
||||
{500 - permanentAddressLength} characters left
|
||||
</div>
|
||||
{errors.PermanentAddress && (
|
||||
<div className="danger-text text-start" style={{ fontSize: "12px" }}>
|
||||
|
@ -219,7 +219,7 @@ const ManageProjectInfo = ( {project,handleSubmitForm, onClose} ) =>
|
||||
/>
|
||||
</div>
|
||||
<div className="text-end" style={{ fontSize: "12px" }}>
|
||||
{maxAddressLength - addressLength} characters remaining
|
||||
{maxAddressLength - addressLength} characters left
|
||||
</div>
|
||||
{errors.projectAddress && <div className="danger-text text-start" style={{fontSize:"12px"}}>{errors.projectAddress.message}</div>}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user