rich text field and pdf create for appeal
This commit is contained in:
@@ -24,6 +24,7 @@ const RenderTextfield = ({
|
||||
meta: { touched, error },
|
||||
...custom
|
||||
}) => {
|
||||
console.log(custom);
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
@@ -53,6 +54,10 @@ const RenderTextfield = ({
|
||||
id={id}
|
||||
type={type}
|
||||
disabled={disabled ? true : false}
|
||||
maxLength={
|
||||
custom.hasOwnProperty("maxFieldLength") &&
|
||||
custom.maxFieldLength
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
@@ -469,6 +474,7 @@ let AboutYou = (props) => {
|
||||
className="govuk-input govuk-input--width-20"
|
||||
validate={[required]}
|
||||
label={t("newappeal:about-you-on-behalf-label")}
|
||||
maxFieldLength="25"
|
||||
/>
|
||||
<div className="govuk-form-group">
|
||||
<details className="govuk-details" data-module="govuk-details">
|
||||
|
||||
Reference in New Issue
Block a user