Sha256: 758aa6d6c6000dc1b652194aca9247007a296e7062c2909253f09345976e1da9

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

_.component('Luca.fields.HiddenField').extends('Luca.core.Field').with

  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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
luca-0.8.599 src/components/fields/hidden_field.coffee
luca-0.8.59 src/components/fields/hidden_field.coffee