This repository was archived by the owner on Jul 8, 2026. It is now read-only.
Commit 683252a
committed
feat: add enum widget support and enhance schema handling
- Introduced a new `enum-widget.js` to facilitate the creation of dropdowns for enum values in the property tree.
- Enhanced the `resolveRowWidgetType` function to recognize schema enum fields, improving widget resolution based on schema definitions.
- Added `isSchemaEnumField` function to the suggestions module for better schema validation.
- Updated `index.html` to include the new enum widget script, ensuring it is loaded during initialization.
These changes aim to improve the user experience by providing a more dynamic and responsive property editing interface.1 parent 9497580 commit 683252a
4 files changed
Lines changed: 463 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
159 | 177 | | |
160 | 178 | | |
161 | 179 | | |
| |||
276 | 294 | | |
277 | 295 | | |
278 | 296 | | |
| 297 | + | |
279 | 298 | | |
280 | 299 | | |
281 | 300 | | |
| |||
0 commit comments