alan-turing-institute / AssurancePlatform

Project to facilitate creation of Assurance Cases
MIT License
22 stars 6 forks source link

[User Story]: Auto-Clear Placeholder Text in Input Fields #429

Closed kallewesterling closed 4 months ago

kallewesterling commented 4 months ago

Role

As a assurance case editor

Desired Feature

I want the placeholder text in input fields to automatically clear when I select the field

Benefit

So that I can start typing immediately without the extra step of manually deleting placeholder text

Acceptance Criteria

GIVEN I click on an input field with placeholder text, WHEN the input field becomes active (focused), THEN any placeholder text should automatically disappear allowing me to type directly.

GIVEN an input field previously clicked becomes unfocused without any user input, WHEN I click away from the field, THEN the original placeholder text should reappear in the field.

GIVEN I have partially typed text into an input field and then cleared it, WHEN I click away from the field making it lose focus, THEN the placeholder text should reappear indicating the field is empty.

Dependencies

None.

Technical Notes

Definition of Done

kallewesterling commented 4 months ago

I think this is already happening and thus, this is a null and void story.