An invalid form control with name='' is not focusable. WITHOUT ANY REQUIRED OR HIDDEN INPUTS

后端 未结 8 929
一整个雨季
一整个雨季 2020-12-11 01:40

I\'m facing the well known Chrome\'s \"not-focusable-input\" error but my situation is different from the explained in the other post I could find there.

I have thi

8条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-11 02:31

    While I was writting the question I realized one thing: the value the script was putting into the 'priceFinal' field sometimes was a decimal number.

    In this case the solution was to write the step attribute for this input:

    ... step="any" ...
    

    Step on w3s

    So this 'nofocusable' bug is not only a required and hidden fields issue, it's also generated by format conflicts.

提交回复
热议问题