w2ui
Home
Get started
Demos
Docs
Blog
Support
Layout
Grid
Toolbar
Sidebar
Tabs
Form
Popup
Utilities
ver 1.3
ver 1.4
ver 1.5
ver 2.0
Form
Overview
Events
Properties
Methods
Fields
Numeric
Date & Time
Drop Lists
Multi Selects
Upload
Custom
w2form.autosize
Indicates if the form should set the height of the box where it is rendered based on the form's content.
Boolean, default = true
If set to false, the form's box must have a height set.
$('#form').height(300); let form = new w2form({ name : 'form', focus : 2, autosize: false, fields : [ { field: 'first_name', type: 'text' }, { field: 'last_name', type: 'text' }, { field: 'field_textarea', type: 'text' } ], actions : { "reset": function () { this.clear(); }, "save": function () { this.save(); } } });
User Comments
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus