1 class Locmare.FormModule.FieldModule.TagModule.NumberTag extends Locmare.FormModule.FieldModule.TagModule.Base
\r
6 initialize: (options) ->
\r
11 this.$el.attr(@attr())
\r
15 @field.helpers.refresh()
\r
16 @field.trigger('change')
\r
26 r['value'] = @value()
\r
27 sz = @options()['size']
\r
29 r['style'] = Pettanr.to_style({width: Pettanr.to_s(sz) + 'em'})
\r