update fix create and update provider

This commit is contained in:
Wikzyy
2025-03-10 13:27:51 +07:00
parent 8c930ae17a
commit cf7183aa99
2 changed files with 19 additions and 6 deletions

View File

@ -68,6 +68,7 @@ const AddDialog = () => {
if (
formField.name === '' ||
formField.description === '' ||
formField.type === '' ||
formField.status === '' ||
formField.transactionTypeId === '' ||
formField.agentId === ''
@ -138,7 +139,9 @@ const AddDialog = () => {
<div className="w-full">
<div className="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label className="form-label flex items-center gap-1 max-w-56">Type</label>
<label className="form-label flex items-center gap-1 max-w-56">
Type<span className="text-red-500">*</span>
</label>
<Input
className="input"
type="text"