• Resolved Ben

    (@benimator)


    Hello. This is a great plugin. My one piece of feedback would be to make the wallet address text box non-editable. By default you can backspace or add text to the text box, which is not ideal as it could lead to someone accidentally removing some characters before they copy the address. I was able to fix it by applying the following CSS

    .wallet-address-input{
    	pointer-events: none;
    }

    Please consider making it non-editable by default though.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Ben

    (@benimator)

    On top of that if a user clicks on the text it’d be great to copy it to the clipboard, just like what happens if you click COPY.

    Using pointer-events: none; makes it non-editable but if you double click on the text and right-click copy then it adds a few extra blank spaces to your clipboard. Hopefully no one would double click on it, but just in case they do I don’t want them to have spaces in the address.

    Hi there

    Thanks for your suggestion we will add it in our upcoming updates.

    Can you please share demo link, so we can check the issue.

    Thread Starter Ben

    (@benimator)

    https://www.glorycitychurch.com.au/giving
    Click on SHOW ADDRESSES
    Then double click on an address text box and you’ll see that it selects to much of the page, thus adding spaces to your clipboard if you copy it from there.

    Hi there

    Instead of using pointer-event css you will need to edit in file code to make this field readonly

    open follow file and add “readonly” attr on lin no. 90 https://prnt.sc/1w2wauy
    cryptocurrency-widgets-for-elementor\donation-box\includes\ccew-frontend-layouts.php

    Then after remove your custom CSS for this field

    Thanks

    Thread Starter Ben

    (@benimator)

    Thanks, that worked perfectly!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Make wallet address text box non-editable’ is closed to new replies.