Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16671 | Rev 16673 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16671 Rev 16672
Línea 236... Línea 236...
236
            maxLength={30}
236
            maxLength={30}
237
            id={`option-${index + 1}`}
237
            id={`option-${index + 1}`}
238
            name={`option-${index + 1}`}
238
            name={`option-${index + 1}`}
239
            ref={register({ required: true })}
239
            ref={register({ required: true })}
240
          />
240
          />
241
          <span>{watch(`option-${index + 1}`).lenght}/30</span>
-
 
242
        </div>
241
        </div>
243
      ))}
242
      ))}
244
      <button className="btn btn-outline-primary rounded" onClick={addOption}>
243
      <button className="btn btn-outline-primary rounded" onClick={addOption}>
245
        Añadir opción
244
        Añadir opción
246
      </button>
245
      </button>