Sha256: 356abaee204fcc6f6e8b234d1916f2f270022919bc8df47263ebba3e758fed2e

Contents?: true

Size: 267 Bytes

Versions: 4

Compression:

Stored size: 267 Bytes

Contents

const classes = ['simple-tags-input'];

function init(el) {
  el.multiple = true;
  if (!el.value) {
    el.value = null;
  }
}

function settings() {
  return {
    events: {
      addable: (value) => value,
    },
  };
}

export {
  classes,
  init,
  settings,
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activeadmin_addons-2.0.0.beta.4 app/javascript/activeadmin_addons/inputs/slim-select-simple-tags.js
activeadmin_addons-2.0.0.beta.3 app/javascript/activeadmin_addons/inputs/slim-select-simple-tags.js
activeadmin_addons-2.0.0.beta.2 app/javascript/activeadmin_addons/inputs/slim-select-simple-tags.js
activeadmin_addons-2.0.0.beta.0 app/javascript/activeadmin_addons/inputs/slim-select-simple-tags.js