Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5727

Set the focus on the field to enter a value when opening a data table

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Studio Designer

      Description

      Studio generates the following code for a multivalued field (complex or not):

          <nuxeo-data-table role="widget" items="{{document.properties.myschema:multivaluedString}}" orderable="true" editable="true">
            <nuxeo-data-table-column name="Multivalued String">
              <template>
                [[item]]
              </template>
            </nuxeo-data-table-column>
            <nuxeo-data-table-form>
              <template>
                <nuxeo-input value="{{item}}" label="Multivalued String" type="text"></nuxeo-input>
              </template>
            </nuxeo-data-table-form>
          </nuxeo-data-table>
      

      It would be nice if the focus was automatically set on the first input of the modal panel.

      Maybe this improvement needs something similar to be done in WebUI to expose the function which will set the focus.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h