Skip to content

Commit a01d04b

Browse files
authored
Merge pull request #5956 from formio/FIO-9506-fixed-render-types
FIO-9506: fixed the return type of the render function
2 parents 13c8270 + 0e71b6d commit a01d04b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/_classes/field/Field.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Component from '../component/Component';
77
export default class Field extends Component {
88
/**
99
* @param {object} element - The component to create.
10-
* @returns {Field} - The created field.
10+
* @returns {string} - The rendered HTML string of a component
1111
*/
1212
render(element) {
1313
if (this.noField) {

0 commit comments

Comments
 (0)