fixed validation msg set bottom of select box
This commit is contained in:
parent
95fbac4760
commit
cc7ef47055
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user