TextField in Forge UI Kit 2 configuration macro for Confluence does not autosave

XMLWordPrintable

    • Major

      Issue Summary

      In a Forge app for Confluence, when using a TextField to create a configuration macro, the content entered in the field is not saved if you click outside the configuration UI or publish the page immediately. The content is only saved if you press enter, click on another field inside the configuration UI, or click around the configuration UI itself. 

      Steps to Reproduce

      1. Create a sample "Hello World" app using Forge in Confluence.
      2. Select the UI Kit Category and choose the confluence-macro template.
      3. Now, try to create a macro with configuration like this tutorial with a TextField and deploy to your test site.
      4. Create a new Confluence page, insert the macro you created, and enter text into the TextField.
      1. Click the Update Page button immediately or click outside the configuration UI.

      Expected Results

      The content entered into the TextField should be retained and saved, regardless of whether the user clicks outside the configuration UI or publishes the page immediately after entering text.

      Actual Results

      The content entered into the TextField is lost if the user clicks outside the configuration UI or publishes the page immediately after entering text. The data is only saved when the user clicks into another field after typing.

      Workaround

      As a workaround, after entering text into the TextField, click into another field within the configuration UI before clicking outside or publishing the page. This action ensures that the content is retained and saved correctly.

            Assignee:
            Unassigned
            Reporter:
            Sherica Ocbania
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: