diff --git a/ayanova/src/views/home-review.vue b/ayanova/src/views/home-review.vue index 62ac5d11..0a1eb223 100644 --- a/ayanova/src/views/home-review.vue +++ b/ayanova/src/views/home-review.vue @@ -20,26 +20,26 @@ @@ -56,27 +56,19 @@ > - - - - {{ $ay.t("ReviewColor") }} - - + + :label="$ay.t('ReviewCompletionNotes')" + :error-messages="form().serverErrors(this, 'completionNotes')" + ref="completionNotes" + data-cy="completionNotes" + @input="fieldValueChanged('completionNotes')" + auto-grow + > + @@ -208,6 +200,8 @@ export default { //IMPORTANT NOTE: Fields that are NON NULLABLE in the schema for the table but *are* hideable **MUST** have a default value set here or else there will be no way to save the record //I.E. Serial, usertype fields, ACTIVE //Also, if it's a non-nullable Enum backed field then it should have a valid selection i.e. not zero if there is no zero + //{"data":{"id":2,"concurrency":1257740,"name":"Follow up on this unit","notes":"Additional text about this unit","wiki":null,"customFields":null,"tags":["completed.review","v7-import"], + //"dueDate":"2019-03-21T22:00:00Z","completedDate":"2019-03-21T22:00:00Z","completionNotes":null,"userId":2,"assignedByUserId":1,"objectId":9,"objectType":31,"overDue":false}} { id: 0, concurrency: 0, @@ -217,10 +211,14 @@ export default { wiki: null, customFields: "{}", tags: [], - startDate: window.$gz.locale.nowUTC8601String(), - stopDate: null, + dueDate: null, + completedDate: null, + completionNotes: null, userId: window.$gz.store.state.userId, - color: "#FFFFFFFF" + assignedByUserId: window.$gz.store.state.userId, + objectId: null, + objectType: null, + overDue: false }, tab: 0,