[STCOM-256] Automatically focus textfields when editing/creating EditableList item Created: 20/Apr/18  Updated: 21/Aug/19  Resolved: 26/Apr/18

Status: Closed
Project: stripes-components
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P3
Reporter: Theodor Tolstoy (One-Group.se) Assignee: md331 (Inactive)
Resolution: Done Votes: 0
Labels: sprint36
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Relates
relates to STSMACOM-243 Newly Created Address Record Should b... Closed
relates to UIU-1161 Newly Created Address Record Should b... Closed
Sprint:

 Description   

Overview: As a user, i do not want to manually have to click the field i am obviously about to fill in.
Scenario 1:

  1. Go to Settings -> Inventory -> Material types
  2. Click the New button
  3. Add a new material type
    What should happen: Once you click New, the form field appears, and the browser's focus and cursor is in that field.
    What actually happens: In order to fill the field out, you have to move there using the mouse or Tab

Scenario 2:

  1. Go to Settings -> Inventory -> Material types
  2. Click edit on one of the existing Material types
  3. Alter something and save it

What should happen: Once you click Edit, the form field appears, and the browser's focus and cursor is in that field.
What actually happens: In order to fill the field out, you have to move there using the mouse or Tab

The issue is apparent for the following settings:
Inventory -> Loan Types
Inventory -> Material Types
Organization -> institutions
Organization -> libraries
Organization -> campuses



 Comments   
Comment by Cate Boerema (Inactive) [ 20/Apr/18 ]

Thanks Theodor Tolstoy (One-Group.se). md331 do you think this is something we should add to the controlled vocab component itself?

Comment by md331 (Inactive) [ 20/Apr/18 ]

Yeah Cate Boerema, I think if we want to implement behaviour it makes sense to have it in the ControlledVocab component for all the users of it.

Comment by Mike Taylor [ 20/Apr/18 ]

Can we please rename this issue so it says what's wrong?

Comment by md331 (Inactive) [ 20/Apr/18 ]

I gotchu Mike Taylor

Comment by Theodor Tolstoy (One-Group.se) [ 26/Apr/18 ]

Works just fine. Thank you

Generated at Thu Feb 08 23:11:42 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.