@defra/forms-engine-plugin 4.5.3 → 4.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,6 +33,11 @@
33
33
  @include govuk-font($size: 19);
34
34
  }
35
35
 
36
+ // Used in geospatial field
37
+ .govuk-link--disabled {
38
+ opacity: 0.5;
39
+ }
40
+
36
41
  // Hide urls for hyperlinks when in print mode
37
42
  @media print {
38
43
  .govuk-link[href]::after {
@@ -33,6 +33,8 @@ export class GeospatialField extends FormComponent {
33
33
 
34
34
  let formSchema = geospatialSchema.label(this.label).required()
35
35
 
36
+ formSchema = formSchema.max(50)
37
+
36
38
  if (options.required !== false) {
37
39
  formSchema = formSchema.min(1)
38
40
  }