?
avatar shoulders
shoulders
20 Nov 2020

Is your feature request related to a problem? Please describe.

Currently all rendered number fields have the up/down arrows on them. The arrows can be removed by CSS if needed but this is template/css based.

With Arrows
image

Without arrows
image

Describe the solution you'd like

I would like an option that you can configure in the field configuation so this option was not template/css dependant.

Maybe call the new option arrows="false"

<field
    name="id"
    type="number"
    label="JGLOBAL_FIELD_ID_LABEL"
    description="JGLOBAL_FIELD_ID_DESC"
    default="0"
    class="readonly"
    size="10"
    readonly="true"
    arrows="false"
/>

Additional context

You can use the following css to remove the arrows:

style="appearance: textfield"

There is not an option I have found https://docs.joomla.org/Number_form_field_type

avatar shoulders shoulders - open - 20 Nov 2020
avatar joomla-cms-bot joomla-cms-bot - change - 20 Nov 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Nov 2020
avatar shoulders shoulders - change - 20 Nov 2020
The description was changed
avatar shoulders shoulders - edited - 20 Nov 2020
avatar Quy
Quy - comment - 20 Nov 2020

Duplicate #30885. Thanks for the report.

avatar Quy Quy - close - 20 Nov 2020
avatar Quy Quy - change - 20 Nov 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-11-20 18:42:46
Closed_By Quy

Add a Comment

Login with GitHub to post a comment