Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16672 Rev 16673
Línea 217... Línea 217...
217
          maxLength={140}
217
          maxLength={140}
218
          id="question"
218
          id="question"
219
          name="question"
219
          name="question"
220
          ref={register({ required: true })}
220
          ref={register({ required: true })}
221
        />
221
        />
222
        <span>{watch('question').lenght}/140</span>
-
 
223
      </div>
222
      </div>
224
      {options.slice(0, optionsNumber).map((option, index) => (
223
      {options.slice(0, optionsNumber).map((option, index) => (
225
        <div className="form-group" key={index}>
224
        <div className="form-group" key={index}>
226
          <label htmlFor={`option-${index + 1}`}>Opción {index + 1}*</label>
225
          <label htmlFor={`option-${index + 1}`}>Opción {index + 1}*</label>
227
          {index > 1 && (
226
          {index > 1 && (