X-editable 'number' type issue

Hi all,

When setting the editable field type to ‘number’ (i.e.


'type' => 'number'

) how does one set the attributes ‘min’, ‘max’ and ‘step’?

Found out the answer.

In the ‘options’ array…




'step' => 'some number',

'min' => 'some min',

'max' => 'some max',