fix(widget-select): fix exactCount error message (#3177)

This commit is contained in:
Shawn Erquhart 2020-02-01 19:35:21 -08:00 committed by GitHub
parent e6deab03b9
commit 46f7763ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,8 +63,9 @@ export default class SelectControl extends React.Component {
error: {
message: t(`editor.editorControlPane.widget.${messageKey}`, {
fieldLabel: field.get('label', field.get('name')),
minValue: min,
maxValue: max,
minCount: min,
maxCount: max,
count: min,
}),
},
});