Title: 🎨Custom Components Canonical: https://microi.net/en/doc/form-engine/form-custom-control.html Page-Modified: 2026-10-12T10:49:46.000Z Source: published HTML document body; page revision is not a capability verification date. # 🎨Custom Components When the platform component library cannot meet the requirements, solve the problem by customizing the component or extending the component library. --- ## 📌Preface - In actual form development, the component library of the low-code platform does not meet all needs. - Microi Code provides two methods: Custom Components and Extended Component Library --- ## 📸Example 1 (Custom Components) Customer requirements: Data statistics are displayed at the top of the customer details, and each statistic is automatically scrolled to the corresponding sub-table position after clicking: ## [在这里插入图片描述: https://file.microi.net/upload/img/csdn/a1db402363594f9bb04a65a196aa9fd4.png#pic_center] ## 📸Example 2 (Custom Components) There are two special components to the listing information: - Choose several rooms, several halls and several guards - Obtain the building after selecting the community → Obtain the unit after selecting the building → Obtain the room number after selecting the unit [在这里插入图片描述: https://file.microi.net/upload/img/csdn/16f0262046f24b529b681eae924c8c53.png#pic_center] ## Implementation steps ## 1. Create a custom vue component in the source code of Microi Code Framework For example:/src/views/custom/xjy/components/kehu-childtable-class.vue Expand to view the JavaScript code (160 lines) javascript ``` ``` ## 2. Drag the form design into a [Custom Component] and fill in the component path [在这里插入图片描述: https://file.microi.net/upload/img/csdn/8e853444d60145ae8a182324320c8cb5.png#pic_center] ## 3. Just publish the front-end project