Commit Graph

1 Commits

Author SHA1 Message Date
Bhanu Prakash Sai Potteri
e55a26c963 feat: state→city cascade in Add Lead (dataset-backed selects)
DatasetSelectField fetches options live from /dataset-options (filter_options-aware),
refetches when its dependency (State) changes, clears stale selection. Wired through
schema/types/client/forms for option_source=dataset; AssignBody made dataset-aware so
shared city field stays a real select.

SQL artifacts: cascade filter rule + rebuild City/State datasets from tbl_branches
(every captured city is branch-backed, so Assign region→agent cascade always resolves).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 17:53:45 +05:30