Remove arrows from a number input

  • jubilant_courgette_93644-1318152193085542430

    Dov

    5 months ago

    Is there a builtin way to remove arrows from an input? I tried adding the following to the css editor but it does not work -webkit-appearance: none
  • mikejolz-1318153309680308244

    Miguel Costa

    5 months ago

    Hey 👋 You can do it with:

    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
    }


    you need to put it in a style element and either reference all inputs (like above) or add a class to the input and reference that.
  • jubilant_courgette_93644-1318156902709854209

    Dov

    5 months ago

    Thanks. I added a style element and worked.
    👍1