fix(lstv2): removed the required for comments until can test more
This commit is contained in:
@@ -92,7 +92,7 @@ export default function ManualPrintForm() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const onSubmit = (data: any) => {
|
const onSubmit = (data: any) => {
|
||||||
//console.log(data);
|
console.log(data);
|
||||||
|
|
||||||
handleManualPrintLog(data);
|
handleManualPrintLog(data);
|
||||||
};
|
};
|
||||||
@@ -243,8 +243,10 @@ export default function ManualPrintForm() {
|
|||||||
<Textarea
|
<Textarea
|
||||||
//label="Comments"
|
//label="Comments"
|
||||||
placeholder="add more info as needed."
|
placeholder="add more info as needed."
|
||||||
{...(register("additionalComments"),
|
{
|
||||||
{ required: true, minLength: 10 })}
|
...register("additionalComments")
|
||||||
|
// { required: true, minLength: 10 }
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user