The handling of text from the client is not working properly.
1) We need to add a function to for createClientUrl that redirects us to the page containing a form for sending text (which already exist)
Sample solution would be:
const createTextClientUrl = async ({ endpointId }: { endpointId: string }) => {
const clientBase = 'https://localhost:5175/flottform-text-client/';
if (!browser) {
throw Error('should not create a client URL when not in browser mode');
}
return `${clientBase}${endpointId}`;
};
2) We need to add a parameter to the function createTextItem (which is returned bycreateDefaultFlottformComponent ) to attach the received text inside the input field and NOT just inside the UI element.
Links / References
Further links on the topic
Tasks / Definition of Done
[ ] Fix issue 1
[ ] Fix issue 2
Further information
The image below shows the text attached to the UI and not to a specific input field!
Description
The handling of text from the client is not working properly. 1) We need to add a function to for
createClientUrl
that redirects us to the page containing a form for sending text (which already exist) Sample solution would be:2) We need to add a parameter to the function
createTextItem
(which is returned bycreateDefaultFlottformComponent
) to attach the received text inside the input field and NOT just inside the UI element.Links / References
Further links on the topic
Tasks / Definition of Done
Further information The image below shows the text attached to the UI and not to a specific input field!