We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9564261 commit 634adaeCopy full SHA for 634adae
components/form/FormItem.tsx
@@ -208,7 +208,7 @@ export default defineComponent({
208
if (typeof props.label === 'string') {
209
variables.label = props.label;
210
} else if (props.name) {
211
- variables.label = String(name);
+ variables.label = String(props.name);
212
}
213
if (props.messageVariables) {
214
variables = { ...variables, ...props.messageVariables };
0 commit comments