Sha256: f3d73e4663e107a922bb0745e26d9ffbb75da2bccca9e545830dcb8170184cb7

Contents?: true

Size: 650 Bytes

Versions: 30

Compression:

Stored size: 650 Bytes

Contents

(function() {

  Luca.fields.HiddenField = Luca.core.Field.extend({
    form_field: true,
    template: 'fields/hidden_field',
    initialize: function(options) {
      this.options = options != null ? options : {};
      return Luca.core.Field.prototype.initialize.apply(this, arguments);
    },
    afterInitialize: function() {
      this.input_id || (this.input_id = _.uniqueId('field'));
      this.input_name || (this.input_name = this.name);
      this.input_value || (this.input_value = this.value);
      return this.label || (this.label = this.name);
    }
  });

  Luca.register("hidden_field", "Luca.fields.HiddenField");

}).call(this);

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
luca-0.9.76 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.9.7 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.9.65 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.9.6 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.9.42 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.9.4 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.9.2 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.9.1 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.9.0 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.8.599 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.8.59 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.8.3 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.8.2 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.8.06 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.8 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.7.92 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.7.91 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.7.9 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.7.8 vendor/assets/luca-ui/components/fields/hidden_field.js
luca-0.7.7 vendor/assets/luca-ui/components/fields/hidden_field.js