This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

niquedegraaff25539
niquedegraaff25539

.. And how can i move it to the left? It looks very, very odd.

Illustration

Last updated

Troiscent
Troiscent

I agree, same for number textfield. You have an option in settings to define your own CSS, personnaly, I added some rules to have all input alligned to the left.

zakir1929
zakir1929

Troiscent said:

I agree, same for number textfield. You have an option in settings to define your own CSS, personnaly, I added some rules to have all input alligned to the left.

Hi Trioiscent,

I have left aligned datepicker input field via css but problem now is datepicker appear on right side. is there is any solution you have found out ?

oskar.villani40843
oskar.villani40843

Hi,

even if this thread started a while ago, I found a solution for this :)

In Builder field properties use Advanced > Attributes and fill in key=style and value= text-align:left

or in the respective fields.yaml (as an example):

datepicker:
    label: 'Next Milestone Date'
    mode: date
    format: Y-m-d
    attributes:
        style: 'text-align:left'

Cheers!

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.