We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDK版本: openjdk21 erupt版本: 1.12.7 (请确保最新尝试是否还有问题)
下拉@ChoiceType的VL能不能加一个className,用于给不同的下拉标签设置不同的颜色
@EruptField( views = @View(title = "状态", sortable = true, width = "5em") , edit = @Edit(title = "状态", search = @Search(vague = true), type = EditType.CHOICE, choiceType = @ChoiceType(vl = { @VL(label = "<p class='text-red'>待操作</p>", value = "0"), @VL(label = "<p class='text-green'>已操作</p>", value = "1"), @VL(label = "<p class='text-blue'>已撤销</p>", value = "2"), })) ) @Schema(description = "状态") @Column(name = "`status`", columnDefinition = "tinyint") @JsonProperty("status") private Integer status = 0;
目前这样配置在label里面也能有不同颜色。但是顶部的筛选看到的就是带代码的了。如果可以,最好是vl内部除了label和value外,再添加一个className
The text was updated successfully, but these errors were encountered:
好的后续版本会做支持
Sorry, something went wrong.
No branches or pull requests
版本情况
JDK版本: openjdk21
erupt版本: 1.12.7 (请确保最新尝试是否还有问题)
问题描述(包括截图)
下拉@ChoiceType的VL能不能加一个className,用于给不同的下拉标签设置不同的颜色
目前这样配置在label里面也能有不同颜色。但是顶部的筛选看到的就是带代码的了。如果可以,最好是vl内部除了label和value外,再添加一个className
The text was updated successfully, but these errors were encountered: