File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 5353 }
5454 else if (templateField .FieldType == InspectionFieldType .Check )
5555 {
56- <div class =" d-flex justify-content-between" >
56+ <div class =" d-flex justify-content-between flex-wrap " >
5757 @foreach ( InspectionRecordTemplateFieldOption fieldOption in templateField .Options )
5858 {
5959 <div class =" form-check form-check-inline" data-type =" fieldOptionContainer" >
6565 }
6666 else if (templateField .FieldType == InspectionFieldType .Radio )
6767 {
68- <div class =" d-flex justify-content-between" >
68+ <div class =" d-flex justify-content-between flex-wrap " >
6969 @foreach ( InspectionRecordTemplateFieldOption fieldOption in templateField .Options )
7070 {
7171 <div class =" form-check form-check-inline" data-type =" fieldOptionContainer" >
Original file line number Diff line number Diff line change 141141 </div >
142142 </div >
143143</div >
144- <div class =" modal fade" data-bs-focus =" false" id =" inspectionRecordTemplateModal" tabindex =" -1" role =" dialog" aria-hidden =" true" onpaste = " handleModalPaste(event) " >
144+ <div class =" modal fade" data-bs-focus =" false" id =" inspectionRecordTemplateModal" tabindex =" -1" role =" dialog" aria-hidden =" true" >
145145 <div class =" modal-dialog" role =" document" >
146146 <div class =" modal-content" id =" inspectionRecordTemplateModalContent" >
147147 </div >
148148 </div >
149149</div >
150- <div class =" modal fade" data-bs-focus =" false" id =" inspectionRecordTemplateEditModal" tabindex =" -1" role =" dialog" aria-hidden =" true" onpaste = " handleModalPaste(event) " >
150+ <div class =" modal fade" data-bs-focus =" false" id =" inspectionRecordTemplateEditModal" tabindex =" -1" role =" dialog" aria-hidden =" true" >
151151 <div class =" modal-dialog" role =" document" >
152152 <div class =" modal-content" id =" inspectionRecordTemplateEditModalContent" >
153153 </div >
Original file line number Diff line number Diff line change @@ -309,12 +309,6 @@ function getAndValidateInspectionRecord() {
309309 if ( hasNotes ) {
310310 let fieldNoteElem = fieldElem . find ( '[data-type="fieldNotes"]' ) ;
311311 fieldData [ "notes" ] = fieldNoteElem . val ( ) ;
312- if ( fieldNoteElem . val ( ) . trim ( ) == '' ) {
313- hasError = true ;
314- fieldNoteElem . addClass ( 'is-invalid' ) ;
315- } else {
316- fieldNoteElem . removeClass ( 'is-invalid' ) ;
317- }
318312 }
319313 if ( fieldType != 'Text' ) {
320314 let fieldOptions = [ ] ;
You can’t perform that action at this time.
0 commit comments