Project

General

Profile

BUG #4155

Updated by Md. Abdul Hamid 2 months ago

### Description 
 **Module/Section:** Agency Profile → Edit Agency Name   
 **Profile:** Agency   
 **Issue Category:** Functional   

 When opening the **Edit Agency Name** modal, the **Agency Name input field is neither auto-focused nor pre-selected**.   
 According to the Lovable design specification, the input field should receive focus automatically and its existing text should be selected by default when the modal opens. 

 This behavior negatively impacts usability and does not align with the approved design. 

 ### Steps to Reproduce 
 1. Navigate to the **Agency Profile** page. 
 2. Click the **Edit** icon for the agency name. 
 3. Observe the focus and text selection state of the **Agency Name** input field when the modal opens. 

 ### Expected Result 
 The **Agency Name** input field should be **auto-focused**, and the existing text should be **fully selected** by default when the modal opens. 

 ### Actual Result 
 The **Agency Name** input field is **not auto-focused**, and the text is **not pre-selected** when the modal opens. 

 ### Attachments 
 - [PoC](https://drive.google.com/file/d/10mPhxID2QPbfMKxjNXsKdPz8o1YgbHIp/view?usp=drive_link) 

 ### Additional Info 

 **Root Cause:**   


 **Impacted Area:**  


 
 - Tested By: Hamid 

Back