adobe / adobe/aem-core-forms-components

Inline label editing click and save functionality

Open
#1,205 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
36
Forks
62
Avg merge
1d 6h
Merged PRs (30d)
8

Description

### Expected Behaviour
When editing an inline form label clicking a point in the string should move the cursor to that point. Hitting enter should save the authored changes.

### Actual Behaviour
When editing an inline form label clicking a point in the string ends editing. Hitting enter ends editing and removes the changes.

#### Steps to Reproduce
* Create a text box field

##### Editing issue
* Select the field and click the edit button
* Click anywhere in the label to try to move the cursor
* Editing ends

##### Saving issue
* Select the field and click the edit button
* Alter the text of the label and hit enter
* Editing ends and changes are reverted

#### AEM Version (mention the exact version in case of cloud SDK)
2023.12.14697.20231215T125030Z-231200

#### AEM Forms Version
2023.10.25.00-231200

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the inline label editing behavior with a text box field using the listed AEM and AEM Forms versions. Trace the frontend entry point reached by the edit button and verify both interactions: clicking within the label preserves editing and moves the cursor, while pressing Enter saves the changed text. The issue names no files or tests, so identify the relevant entry point and add or update coverage for both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.