bkui-vue3 icon indicating copy to clipboard operation
bkui-vue3 copied to clipboard

feature(FormItem): label slot ,required 标识问题

Open zhoulujun opened this issue 2 years ago • 0 comments

如图所示 image 复现代码

 <FormItem required property="text">
                                {{
                                  label: () => (
                                    <div class="flex-row align-items-center">
                                      <span>SQL语句输入</span>
                                      <InfoLine class="ml-medium text-gray"/>
                                      <span class="text-gray font-small"> 请编写输出value(实际值)和label(显示值)的sql语句</span>
                                    </div>
                                  ),
                                  default: () => <Input v-model={this.formData.text} />,
                                }}
                              </FormItem>

zhoulujun avatar Nov 15 '22 08:11 zhoulujun