fixed style
This commit is contained in:
@@ -97,7 +97,6 @@ select {
|
||||
//overwrite css toaster
|
||||
[data-rht-toaster] {
|
||||
bottom: auto !important;
|
||||
right: auto !important;
|
||||
max-width: 100% !important;
|
||||
width: auto !important;
|
||||
pointer-events: none !important;
|
||||
|
||||
@@ -430,7 +430,9 @@ export default function Page() {
|
||||
type="text"
|
||||
placeholder="Ingresa serie"
|
||||
value={formData.serie}
|
||||
onChange={(e) => handleInputChange("serie", e.target.value)}
|
||||
onChange={(e) =>
|
||||
handleInputChange("serie", e.target.value.toUpperCase())
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
<div className="formGroup">
|
||||
@@ -662,7 +664,7 @@ export default function Page() {
|
||||
<div className="formGroup">
|
||||
<label>Lugar</label>
|
||||
<textarea
|
||||
placeholder="Ingresa lugar"
|
||||
placeholder="Maximo 200 caracteres"
|
||||
value={formData.lugar}
|
||||
onChange={(e) => handleInputChange("lugar", e.target.value)}
|
||||
maxLength={200}
|
||||
|
||||
@@ -385,6 +385,16 @@ export default function Editar() {
|
||||
}
|
||||
}
|
||||
|
||||
if ((formData.lugar).length > 200) {
|
||||
toast.error("Inventario no encontrado");
|
||||
return;
|
||||
}
|
||||
|
||||
if ((formData.observaciones).length > 200) {
|
||||
toast.error("Inventario no encontrado");
|
||||
return;
|
||||
}
|
||||
|
||||
const token = Cookies.get("token");
|
||||
const headers = { Authorization: `Bearer ${token}` };
|
||||
|
||||
@@ -654,7 +664,7 @@ export default function Editar() {
|
||||
</select>
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
{mostrarCamposComputadora && (
|
||||
<>
|
||||
<div className="formGroup">
|
||||
@@ -823,6 +833,7 @@ export default function Editar() {
|
||||
maxLength={200}
|
||||
rows={5}
|
||||
className="textAreaLarge"
|
||||
placeholder="Maximo 200 caracteres"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -833,9 +844,10 @@ export default function Editar() {
|
||||
onChange={(e) =>
|
||||
setFormData({ ...formData, observaciones: e.target.value })
|
||||
}
|
||||
maxLength={200}
|
||||
maxLength={100}
|
||||
rows={5}
|
||||
className="textAreaLarge"
|
||||
placeholder="Maximo 200 caracteres"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user