Hoppa till huvudinnehållet

Is it possible to remove the up and down arrows in a numeric control in a form or do I need to use a text box with some kind of number validation?

Kommentarer

1 kommentar

  • Permanently deleted user

    I just found it! The arrows are controlled with css, so I used the Inject CSS activity with this in the Content:

     

    /* Chrome, Safari, Edge, Opera */

    input::-webkit-outer-spin-button,

    input::-webkit-inner-spin-button {

     -webkit-appearance: none;

     margin: 0;

    }

     

    /* Firefox */

    input[type=number] {

     -moz-appearance: textfield;

    }

    0

Du måste logga in om du vill lämna en kommentar.