add support for data annotations
This commit is contained in:
parent
33a7832d64
commit
8243614546
5 changed files with 77 additions and 34 deletions
|
|
@ -75,7 +75,7 @@ Ox.ArrayEditable = function(options, self) {
|
|||
width: function() {
|
||||
var width = self.options.width;
|
||||
that.css({width: width - 8 + 'px'}); // 2 x 4 px padding
|
||||
self.options.type == 'textarea' && self.$items.forEach(function($item) {
|
||||
self.options.type != 'input' && self.$items.forEach(function($item) {
|
||||
$item.options({width: width})
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue