Adding placeholder and adding in TagInput a background color.

This commit is contained in:
Kartik Sharma 2025-11-17 15:44:03 +05:30
parent 679ae95b8c
commit 6598ec9f73
3 changed files with 37 additions and 31 deletions

View File

@ -408,6 +408,7 @@ const ManageContact = ({ contactId, closeModal }) => {
label="Tags"
options={contactTags}
isRequired={true}
placeholder="Enter Tag"
/>
{errors.tags && (
<small className="danger-text">{errors.tags.message}</small>

View File

@ -108,6 +108,7 @@ const ManageJob = ({ Job }) => {
type="text"
{...register("title")}
className="form-control form-control"
placeholder="Enter Title"
/>
</div>
@ -144,6 +145,7 @@ const ManageJob = ({ Job }) => {
options={JobTags?.data}
name="tags"
label="Tag"
placeholder="Enter Tag"
required
/>
</div>

View File

@ -105,6 +105,9 @@ const handleChange = (e) => {
outline: "none",
flex: 1,
minWidth: "120px",
backgroundColor: "white",
color: "black"
}}
/>
</div>