WilliamK112 opened a new pull request, #544:
URL: https://github.com/apache/fineract-backoffice-ui/pull/544

   ## What changed
   
   - assign each client-form instance a stable unique suffix for its submitted, 
activation, and date-of-birth picker IDs
   - bind every `ion-datetime-button` to the matching generated `ion-datetime` 
ID while preserving the existing test IDs
   - add a regression test that creates two client-form instances and verifies 
all six picker IDs are distinct and the rendered button/picker pairs match
   
   ## Why
   
   Ionic navigation can keep the previous client form alive, and these modals 
deliberately use `keepContentsMounted`. Reopening the create form therefore 
left duplicate fixed IDs in the document. `ion-datetime-button` could then 
resolve the wrong or missing picker, producing the reported `No ion-datetime 
instance found` error. This change removes that collision without changing date 
values or submission behavior.
   
   ## Validation
   
   - `npm run lint`
   - `npm run format:check`
   - `npm run i18n:check`
   - `npm run check:icons`
   - `npm run check:a11y-names`
   - `npm run api:surface`
   - `NODE_OPTIONS=--no-experimental-webstorage npm test -- --watch=false` — 
241 files, 1465 tests passed
   - `npm run build`
   - `bash scripts/check-license.sh`
   
   Fixes #541
   
   ## AI assistance
   
   Codex assisted with root-cause analysis, implementation, tests, and 
validation. I reviewed the final diff and verified the behavior locally.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to