Sha256: 0db2f00a0beb8183d8df3a595baeda78b18d96de8a8df23f2188ef076a6e9ebf

Contents?: true

Size: 385 Bytes

Versions: 19

Compression:

Stored size: 385 Bytes

Contents

Luca.fields.HiddenField = Luca.core.Field.extend
  form_field: true

  template: 'fields/hidden_field'

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

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

Luca.register "hidden_field", "Luca.fields.HiddenField"



Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
luca-0.8.3 src/components/fields/hidden_field.coffee
luca-0.8.2 src/components/fields/hidden_field.coffee
luca-0.8.06 src/components/fields/hidden_field.coffee
luca-0.8 src/components/fields/hidden_field.coffee
luca-0.7.92 src/components/fields/hidden_field.coffee
luca-0.7.91 src/components/fields/hidden_field.coffee
luca-0.7.9 src/components/fields/hidden_field.coffee
luca-0.7.8 src/components/fields/hidden_field.coffee
luca-0.7.7 src/components/fields/hidden_field.coffee
luca-0.7.6 src/components/fields/hidden_field.coffee
luca-0.7.5 src/components/fields/hidden_field.coffee
luca-0.7.4 src/components/fields/hidden_field.coffee
luca-0.7.3 src/components/fields/hidden_field.coffee
luca-0.7.2 src/components/fields/hidden_field.coffee
luca-0.7.0 src/components/fields/hidden_field.coffee
luca-0.6.9 src/components/fields/hidden_field.coffee
luca-0.6.8 src/components/fields/hidden_field.coffee
luca-0.6.7 src/components/fields/hidden_field.coffee
luca-0.6.6 src/components/fields/hidden_field.coffee