addon/components/bsy-input-addon.js in bootstrap-bookingsync-sass-1.0.5 vs addon/components/bsy-input-addon.js in bootstrap-bookingsync-sass-2.0.0

- old
+ new

@@ -1,8 +1,16 @@ import Ember from 'ember'; +import Component from '@ember/component'; +import { computed } from '@ember/object'; import layout from '../templates/components/bsy-input-addon'; -export default Ember.Component.extend({ +const { generateGuid } = Ember; + +export default Component.extend({ layout, tagName: 'div', - classNames: 'form-group' + classNames: 'form-group', + + inputId: computed(function() { + return generateGuid(); + }) });