add support for data annotations

This commit is contained in:
j 2026-01-12 22:30:54 +00:00
commit 8243614546
5 changed files with 77 additions and 34 deletions

View file

@ -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})
});
}