Support CLASSIFICATION type in color field options

This commit is contained in:
RB 2025-08-25 21:03:04 +08:00
parent 7ecaf9163e
commit c37f3323c8
2 changed files with 2 additions and 2 deletions

2
@rbv

@ -1 +1 @@
Subproject commit 5ca000c9c6846f855ba1aeddbd6e68b62132d8ff
Subproject commit cc78cfb357c13ebbb95f5a2fb31ea68375c7a296

View file

@ -620,7 +620,7 @@ class DlgMode4Option extends RbFormHandler {
<select className="form-control form-control-sm" ref={(c) => (this._$fieldOfColor = c)}>
{this.state.fields &&
this.state.fields.map((item) => {
if (!['PICKLIST'].includes(item.type)) return null
if (!['PICKLIST', 'CLASSIFICATION'].includes(item.type)) return null
return (
<option key={item.name} value={item.name}>
{item.label}