attributes

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

object attributes;

Example

{ view:"text", id:'field_a', attributes:{ maxlength:10 }}
//will result in the following 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