@@ -49311,7 +49311,6 @@ module.exports = {
4931149311userId: null,
4931249312errors: {}
4931349313},
49314- newMessageText: '',
4931549314errorsSummary: ''
4931649315};
4931749316},
@@ -49439,7 +49438,7 @@ module.exports = {
4943949438valid = _context3.sent;
4944049439
4944149440if (!valid) {
49442- _context3.next = 17 ;
49441+ _context3.next = 18 ;
4944349442break;
4944449443}
4944549444
@@ -49452,15 +49451,17 @@ module.exports = {
4945249451_ref9 = (0, _slicedToArray3.default)(_ref8, 2);
4945349452err = _ref9[0];
4945449453success = _ref9[1];
49455- _context3.next = 18;
49454+
49455+ this.newMessage.text = '';
49456+ _context3.next = 19;
4945649457break;
4945749458
49458- case 17 :
49459+ case 18 :
4945949460this.errorsSummary = _.map(data.errors, function (err) {
4946049461return err;
4946149462}).join('<br>');
4946249463
49463- case 18 :
49464+ case 19 :
4946449465case 'end':
4946549466return _context3.stop();
4946649467}
@@ -51068,7 +51069,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
5106851069 _vm.sendMessage(_vm.newMessage)
5106951070 }
5107051071 }
51071- }, [_vm._v("Add Message")])], 1)])
51072+ }, [_vm._v("Add Message")]), _c('div', [_vm._v(_vm._s(_vm.newMessage.text))]) ], 1)])
5107251073},staticRenderFns: []}
5107351074module.exports.render._withStripped = true
5107451075if (false) {
@@ -72015,17 +72016,12 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
7201572016 staticClass: "container-fluid"
7201672017 }, [_c('div', {
7201772018 staticClass: "navbar-header page-scroll"
72018- }, [_vm._m(0), _c('a', {
72019- directives: [{
72020- name: "link",
72021- rawName: "v-link",
72022- value: ({
72023- path: '/'
72024- }),
72025- expression: "{path: '/'}"
72026- }],
72027- staticClass: "navbar-brand"
72028- }, [_vm._v("Feathers-Vue")])]), _c('div', {
72019+ }, [_vm._m(0), _c('router-link', {
72020+ staticClass: "navbar-brand",
72021+ attrs: {
72022+ "to": "/"
72023+ }
72024+ }, [_vm._v("Feathers-Vue")])], 1), _c('div', {
7202972025 staticClass: "collapse navbar-collapse",
7203072026 attrs: {
7203172027 "id": "headbar-navbar"
@@ -72127,7 +72123,14 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
7212772123 class: {
7212872124 'has-error': _vm.error, 'has-success': !_vm.error
7212972125 }
72130- }, [(_vm.label) ? _vm._m(0) : _vm._e(), (_vm.addon) ? _vm._m(1) : _vm._e(), (!_vm.addon) ? _c('input', {
72126+ }, [(_vm.label) ? _vm._m(0) : _vm._e(), (_vm.addon) ? _c('div', {
72127+ staticClass: "input-group"
72128+ }, [_c('div', {
72129+ staticClass: "input-group-addon",
72130+ domProps: {
72131+ "innerHTML": _vm._s(_vm.addon)
72132+ }
72133+ }), _c('input', {
7213172134 staticClass: "form-control",
7213272135 attrs: {
7213372136 "id": _vm.randomId,
@@ -72136,6 +72139,9 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
7213672139 "type": _vm.safeType,
7213772140 "placeholder": _vm.label
7213872141 },
72142+ domProps: {
72143+ "value": _vm.value
72144+ },
7213972145 on: {
7214072146 "input": function($event) {
7214172147 _vm.$emit('input', $event.target.value)
@@ -72147,24 +72153,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
7214772153 _vm.$emit('keydown', $event)
7214872154 }
7214972155 }
72150- }) : _vm._e(), _c('div', {
72151- staticClass: "help-block with-errors"
72152- }, [_vm._v(_vm._s(_vm.error))])])
72153- },staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
72154- return _c('label', {
72155- attrs: {
72156- "for": _vm.randomId
72157- }
72158- }, [_vm._v(_vm._s(_vm.label))])
72159- },function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
72160- return _c('div', {
72161- staticClass: "input-group"
72162- }, [_c('div', {
72163- staticClass: "input-group-addon",
72164- domProps: {
72165- "innerHTML": _vm._s(_vm.addon)
72166- }
72167- }), _c('input', {
72156+ })]) : _vm._e(), (!_vm.addon) ? _c('input', {
7216872157 staticClass: "form-control",
7216972158 attrs: {
7217072159 "id": _vm.randomId,
@@ -72173,6 +72162,9 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
7217372162 "type": _vm.safeType,
7217472163 "placeholder": _vm.label
7217572164 },
72165+ domProps: {
72166+ "value": _vm.value
72167+ },
7217672168 on: {
7217772169 "input": function($event) {
7217872170 _vm.$emit('input', $event.target.value)
@@ -72184,7 +72176,15 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
7218472176 _vm.$emit('keydown', $event)
7218572177 }
7218672178 }
72187- })])
72179+ }) : _vm._e(), _c('div', {
72180+ staticClass: "help-block with-errors"
72181+ }, [_vm._v(_vm._s(_vm.error))])])
72182+ },staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
72183+ return _c('label', {
72184+ attrs: {
72185+ "for": _vm.randomId
72186+ }
72187+ }, [_vm._v(_vm._s(_vm.label))])
7218872188}]}
7218972189module.exports.render._withStripped = true
7219072190if (false) {
0 commit comments