How do i get the feature attribute displayed in the header tab as shown in the esri editor widget sample example??(https://developers.arcgis.com/javascript/latest/sample-code/widgets-editor-basic/index.html) My map shows the untitled feature every time using this widget in my application.
Hi ANIL Baral,
You will need to configure the pop-up title of the feature service you want to edit.
You can read more about it here:
Tidbit
From the live example you have provided, if you use dev tools (usually F12) on your web browser, you can add a breakpoint at line 54 and then toggle the popup so that it is visible. After which you can see that the pop-up title for that 'Hazards' layer is using attribute 'Hazard Type' as the title.