attributes

sets an object with 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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.