rich text field and pdf create for appeal

This commit is contained in:
2024-01-16 14:23:11 +00:00
parent e0badd6b11
commit 5f82c59abb
30 changed files with 592 additions and 288 deletions
+6
View File
@@ -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">