From 860492cf11ffc92a6871a7d2da2c445bbb658fa7 Mon Sep 17 00:00:00 2001 From: "ICX\\Tatsiana.Hashtold" Date: Tue, 24 Dec 2024 11:26:15 +0300 Subject: [PATCH] FIO-9506: ffixed the return type of the render function --- src/components/_classes/field/Field.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/_classes/field/Field.js b/src/components/_classes/field/Field.js index fefa52f60c..5ed0a52915 100644 --- a/src/components/_classes/field/Field.js +++ b/src/components/_classes/field/Field.js @@ -7,7 +7,7 @@ import Component from '../component/Component'; export default class Field extends Component { /** * @param {object} element - The component to create. - * @returns {Field} - The created field. + * @returns {string} - The rendered HTML string of a component */ render(element) { if (this.noField) {