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) => {
|
||||
//console.log(data);
|
||||
console.log(data);
|
||||
|
||||
handleManualPrintLog(data);
|
||||
};
|
||||
@@ -243,8 +243,10 @@ export default function ManualPrintForm() {
|
||||
<Textarea
|
||||
//label="Comments"
|
||||
placeholder="add more info as needed."
|
||||
{...(register("additionalComments"),
|
||||
{ required: true, minLength: 10 })}
|
||||
{
|
||||
...register("additionalComments")
|
||||
// { required: true, minLength: 10 }
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user