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

View File

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