rich text field and pdf create for appeal
This commit is contained in:
@@ -36,6 +36,7 @@ export default function BuildRow(props) {
|
||||
var rows = xpath.select("//label/@description", doc);
|
||||
var fieldtype = xpath.select("//@classid", doc);
|
||||
var validation = xpath.select("//@validation", doc);
|
||||
var maxFieldLength = xpath.select("//@maxFieldLength", doc);
|
||||
var datafieldname = xpath.select("//@datafieldname", doc);
|
||||
var datafieldcontent = xpath.select(
|
||||
"//@datafieldcontent",
|
||||
@@ -73,6 +74,9 @@ export default function BuildRow(props) {
|
||||
? validation[0].value
|
||||
: [];
|
||||
|
||||
maxFieldLength =
|
||||
!_.isEmpty(maxFieldLength) && maxFieldLength[0].value;
|
||||
|
||||
parentField =
|
||||
!_.isEmpty(parentField) && parentField[0].value;
|
||||
|
||||
@@ -150,6 +154,7 @@ export default function BuildRow(props) {
|
||||
requiredDocumentLabel={requiredDocumentLabel}
|
||||
requiredDocumentValue={requiredDocumentValue}
|
||||
validation={validation}
|
||||
maxFieldLength={maxFieldLength}
|
||||
dateStart={dateStart}
|
||||
dateEnd={dateEnd}
|
||||
setDocumentsList={props.props.setDocumentsList}
|
||||
|
||||
Reference in New Issue
Block a user