С
Size: a a a
С
АК
С
С
АК
fileNotSelected = function (field) {
return (
documentdocument.getElementById(field) !== null &&
documentdocument.getElementById(field).value === '')
};
<input type="file"
id=«
file_id»
…
/>
<input id="fileExists"
class="form-control"
type="hidden"
ng-model="fileExists"
ng-required="fileNotSelected(‘
_file_id’)»
/>
DL
DK
С
fileNotSelected = function (field) {
return (
documentdocument.getElementById(field) !== null &&
documentdocument.getElementById(field).value === '')
};
<input type="file"
id=«
file_id»
…
/>
<input id="fileExists"
class="form-control"
type="hidden"
ng-model="fileExists"
ng-required="fileNotSelected(‘
_file_id’)»
/>
DL
DK
АК
DL
DK
DL
DL
SD
DK
A
A