Skip to content

Conversation

@anonymoususer72041
Copy link

@anonymoususer72041 anonymoususer72041 commented Dec 5, 2025

Summary

  • Replace textarea-based address fields with single-line <input> fields for candidates, contacts and companies in the main UI.
  • Adjust the rendering of the <input-address> placeholder in CareersUI.php so that it expands to a single-line <input> instead of a textarea-like field. The careers portal templates stored in the database are not modified by this PR.

Motivation

  • Address fields in the main UI and the careers portal are typically used as single-line inputs in practice, and treating them as textareas was inconsistent with other fields such as city, state or postal code.
  • In the careers portal, the previous textarea-style address field could mislead applicants into thinking they should enter their entire postal address block (street, zip/postal code, city, country) into a single field because of its large, multiline appearance. A single-line input makes it clearer that only the street address line is expected, consistent with the surrounding fields.
  • While working on this change I noticed some remaining legacy patterns around address1 / address2 / address3 and newline-based addresses (e.g. in old schema upgrade steps and in the contacts vCard export). These are not addressed in this PR.

@anonymoususer72041 anonymoususer72041 force-pushed the refactor/ui-single-line-address branch from 3dd96ef to e187c3d Compare December 5, 2025 12:17
anonymoususer72041 added a commit to anonymoususer72041/OpenCATS that referenced this pull request Dec 11, 2025
commit 1176778
Author: anonymoususer72041 <247563575+anonymoususer72041@users.noreply.github.com>
Date:   Fri Dec 5 14:54:37 2025 +0100

    Drop legacy address2 from candidates add form

commit e187c3d
Author: anonymoususer72041 <247563575+anonymoususer72041@users.noreply.github.com>
Date:   Fri Dec 5 10:52:02 2025 +0100

    Use single-line address input in careers portal apply form

commit 44320d6
Author: anonymoususer72041 <247563575+anonymoususer72041@users.noreply.github.com>
Date:   Fri Dec 5 09:04:02 2025 +0100

    Use single-line address inputs for candidates, contacts and companies
@anonymoususer72041
Copy link
Author

It looks like the fix for #356 (merged into develop via #526) never made it into master, so this Pull Request includes the missing id="address" behavior again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant