I set the defaultValue="" value in the Text Item and the NaN value shows on my screen.
Code:
import React from 'react';
import ReactDOM from 'react-dom/client';
import 'smartclient-lgpl/release';
import { DynamicForm, TextItem } from 'smartclient-lgpl/react';
const root = ReactDOM.createRoot(document.getElementById('app'));
root.render(
<DynamicForm ID="userDataForm" numCols="2" colWidths={["150", "*"]} width="30%" titleAlign="left">
<items>
<TextItem
key="11"
name="SUBSTITUTE"
defaultValue=""
width="*"
/>
</items>
</DynamicForm>
);
Comment