Commit c43f502
fix(tool-input): render uncovered tool params alongside subblocks
The SubBlock-first rendering path was hard-returning after rendering
subblocks, so tool params without matching subblocks (like inputMapping
for workflow tools) were never rendered. Now renders subblocks first,
then any remaining displayParams not covered by subblocks via the legacy
ParameterWithLabel fallback.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a29afd2 commit c43f502
File tree
1 file changed
+43
-4
lines changed- apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input
1 file changed
+43
-4
lines changedLines changed: 43 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1771 | 1771 | | |
1772 | 1772 | | |
1773 | 1773 | | |
| 1774 | + | |
| 1775 | + | |
1774 | 1776 | | |
1775 | 1777 | | |
1776 | | - | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
1777 | 1783 | | |
1778 | 1784 | | |
1779 | 1785 | | |
| |||
1808 | 1814 | | |
1809 | 1815 | | |
1810 | 1816 | | |
1811 | | - | |
| 1817 | + | |
1812 | 1818 | | |
1813 | 1819 | | |
1814 | 1820 | | |
| |||
1823 | 1829 | | |
1824 | 1830 | | |
1825 | 1831 | | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
1826 | 1867 | | |
1827 | 1868 | | |
1828 | 1869 | | |
| |||
1831 | 1872 | | |
1832 | 1873 | | |
1833 | 1874 | | |
1834 | | - | |
1835 | | - | |
1836 | 1875 | | |
1837 | 1876 | | |
1838 | 1877 | | |
| |||
0 commit comments