Documentation

attributes

sets an hash of HTML input attributes that will be parsed for the Webix input control

hash attributes;

Example

{ view:"text", id:'field_a', attributes:{ maxlength:10 }}
//will result in next html
//<input type='text' maxlength='10'>

Details

Webix control input generates an HTML input with a specific number of attributes. But you can define a set of extra ones ( which is not generated by default )

Back to top