fixed validation msg set bottom of select box

This commit is contained in:
pramod mahajan 2025-09-17 12:54:40 +05:30
parent 95fbac4760
commit cc7ef47055

View File

@ -133,23 +133,25 @@ const ProjectPermission = () => {
</>
)}
</select>
</div>
{errors.employeeId && (
<div className="text-danger small">
{errors.employeeId && (
<div className="d-block text-danger small">
{errors.employeeId.message}
</div>
)}
</div>
</div>
<div className="mt-3 text-end">
<button
{isDirty && ( <button
type="submit"
className="btn btn-sm btn-primary"
disabled={isPending || loading}
>
{isPending ? "Please Wait..." : "Save Permission"}
</button>
</button>)}
</div>
</div>