Commit 232ad5c4 by Peter Holmberg Committed by GitHub

FieldConfig: Apply Thresholds for string values (#27656)

* apply thresholds for strings

* apply thresholds for all FieldTypes
parent 61a3160c
......@@ -146,7 +146,7 @@ export const getStandardFieldConfigs = () => {
{ value: 80, color: 'red' },
],
},
shouldApply: field => field.type === FieldType.number,
shouldApply: () => true,
category: ['Thresholds'],
getItemsCount: value => (value ? value.steps.length : 0),
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment