se agrego hide de efirma

This commit is contained in:
2025-08-06 10:42:14 -06:00
parent 0178f5659a
commit fc4552bf49

View File

@@ -1243,7 +1243,7 @@ export default function Vucem() {
<div className="relative">
<input
name="efirma"
type={showEfirma ? "text" : "password"}
type={showEditEfirma ? "text" : "password"}
value={form.efirma}
onChange={handleInputChange}
required
@@ -1253,9 +1253,9 @@ export default function Vucem() {
<div className="absolute inset-y-0 right-0 flex items-center">
<button
type="button"
onClick={() => setShowEfirma(!showEfirma)}
onClick={toggleEditEfirmaVisibility}
className="px-2 py-1 text-gray-400 hover:text-gray-600 focus:outline-none"
title={showEfirma ? "Ocultar e.firma" : "Mostrar e.firma"}
title={showEditEfirma ? "Ocultar e.firma" : "Mostrar e.firma"}
>
{showEfirma ? (
<svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">