MD.OFFICE
FAL

Daily Log - 2026-04-10

Dynaforms: UI Polish & Layout Stability

Achievements

  • Global Validation Borders: Successfully integrated Tailwind JIT arbitrary variants across all Dynaform fields for consistent red validation borders (!border-red-600), resolving deep unreachability issues in PrimeNG p-inputNumber without cluttering global CSS files.
  • Signature Field Refinements: Standardized the brand aesthetics by defaulting the signature pad's primary action button colors to the corporate blue (#015aaa). Used Tailwind overrides (!border-solid, !border) specifically on the canvas component to guarantee validation feedback renders.
  • Datepicker Popup Reliability: Fixed popup clipping issues within overflow-hidden containers by attaching the datepicker overlay globally appendTo="body", preserving proper Z-index display.

Decisions

  • Tailwind JIT Overrides: Adopted [&_selector]:class arbitrary variants directly in [ngClass] inside field-wrapper.component.html in favor of polluting global styles.scss with .ng-invalid overrides, sticking strictly to the Tailwind-first architecture.
  • Corporate Standardizing: Ensured that isolated widget defaults (like the Signature pad button color) match existing platform UI constants (#015aaa).

Technical Details

  • Removed: Custom .invalid-dynaform-field styles from styles.scss layout.
  • Modified: field-wrapper.component.html -> Implemented deep inner-child overrides via Tailwind scope modifiers (e.g. [&_input]:!border-red-600).
  • Modified: left-panel.config.ts, dynaform.service.ts, center-panel.component.html, signature-field.component.ts -> Updated signature UI configurations for the appropriate exact hue.
  • Modified: Datepicker configuration updated with appendTo="body".