Disabling Previous and Next buttons in Mobile Safari

后端 未结 4 1688
有刺的猬
有刺的猬 2020-12-05 20:09

Is it possible to disable the \'next\' and \'previous\' buttons in Mobile Safari when focused on an input field? I\'ve been trying the method of setting all fields to

4条回答
  •  再見小時候
    2020-12-05 20:37

    I haven't personally tested this, but perhaps try disabled instead of readonly.

    Readonly - A read-only field cannot be modified. However, a user can tab to it, highlight it, and copy the text from it.

    Disabled - A disabled input element is unusable and un-clickable.

    Maybe this is the difference you need?

提交回复
热议问题