Removing unwanted placeholder.

This commit is contained in:
Kartik Sharma 2025-11-12 12:14:09 +05:30
parent 4351fafed7
commit fa944f5abe
2 changed files with 3 additions and 3 deletions

View File

@ -85,7 +85,6 @@ const ManageReporting = ({ onClosed, employeeId }) => {
}); });
} }
console.log("🚀 Final Payload:", payload);
manageHierarchy(payload); manageHierarchy(payload);
}; };
@ -102,7 +101,7 @@ const ManageReporting = ({ onClosed, employeeId }) => {
<PmsEmployeeInputTag <PmsEmployeeInputTag
control={control} control={control}
name="primaryNotifyTo" name="primaryNotifyTo"
placeholder="Select primary report-to" placeholder={primaryValue?.length > 0 ? "" : "Select primary report-to"}
forAll={true} forAll={true}
disabled={primaryValue?.length > 0} disabled={primaryValue?.length > 0}
/> />
@ -113,6 +112,7 @@ const ManageReporting = ({ onClosed, employeeId }) => {
)} )}
</div> </div>
{/* Secondary */} {/* Secondary */}
<div className="mb-4 text-start"> <div className="mb-4 text-start">
<Label className="form-label"> <Label className="form-label">

View File

@ -204,7 +204,7 @@ const PmsEmployeeInputTag = ({
id="TagifyUserList" id="TagifyUserList"
name="TagifyUserList" name="TagifyUserList"
className="tagify__input flex-grow-1 border-0 bg-transparent" className="tagify__input flex-grow-1 border-0 bg-transparent"
placeholder={placeholder || "Type to search users..."} placeholder={placeholder}
onChange={(e) => { onChange={(e) => {
setSearch(e.target.value); setSearch(e.target.value);
setShowDropdown(true); setShowDropdown(true);