Forum Discussion

Former Member's avatar
Former Member
2 years ago

1password button not show in input tag

I noticed there was a problem with the Chrome extension. If the "Key" string is in the name property of the input tag, the 1 password button is not displayed.
Is this a bug or is it intended? Can you tell me why if it's intended? Thank you.


1Password Version: Not Provided
Extension Version: 2.11.0
OS Version: mac monterey
Browser:_ chrome

3 Replies

  • Former Member's avatar
    Former Member

    please ignore above comment in the bracket.
    I found that this code also doesn't work
    ```







    ```

    but this code works fine

    ```





        <input type="password" id="password--2" name="password" placeholder="비밀번호" autocomplete="off"
            class="tf_g" value="">
        <div class="util_tf"></div>
    
    </form>
    


    ```

  • Former Member's avatar
    Former Member

    Thank you for your answer.
    This is my site's HTML code.
    ```







        <div class="item_form">
            <div class="box_tf"><label class="screen_out" for="password--2">비밀번호 입력</label>
                <input type="password" id="password--2" name="password" placeholder="비밀번호" autocomplete="off"
                    class="tf_g" value="">
                <div class="util_tf"></div>
            </div>
        </div>
    
        <div class="confirm_btn"><button type="submit" class="btn_g highlight submit">로그인</button>
            <span class="line_or">
                <span class="txt_or">또는</span></span><button type="button" class="btn_g">QR코드 로그인</button>
        </div>
    </form>
    

    ```

    1password button only appears in password input tag.
    I noticed that replacing "loginKey" to "id" would cause the same problem.

    <input type="text" id="id--1" name="id" class="tf_g" value="">

    (I'm sorry to confuse you, but to be more precise.. I'm experiencing problems when deploying to the development server, although it runs smoothly on my local machine. 'Smoothly' means 1 password button appears on the email input tag)

  • Former Member's avatar
    Former Member

    Hey @hswl11221, thanks for reaching out about this. Could you share the HTML code of the form where you're seeing this behavior on? We'd like to review the code to see if there are any other factors at play.