Sha256: 9396da0a6c91015b214c7e74bc1553fbc4fc75123dbb9e2435b8073dc5cfef48

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

_.def('Luca.fields.FileUploadField').extends('Luca.core.Field').with

  template: 'fields/file_upload_field'

  initialize: (@options={})->
    Luca.core.Field::initialize.apply @, arguments

  afterInitialize: ()->
    @input_id ||= _.uniqueId('field')
    @input_name ||= @name
    @label ||= @name
    @helperText ||= ""

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
luca-0.9.42 src/components/fields/file_upload_field.coffee
luca-0.9.4 src/components/fields/file_upload_field.coffee
luca-0.9.2 src/components/fields/file_upload_field.coffee
luca-0.9.1 src/components/fields/file_upload_field.coffee
luca-0.9.0 src/components/fields/file_upload_field.coffee