Removing unwanted placeholder.
This commit is contained in:
parent
4351fafed7
commit
fa944f5abe
@ -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">
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user