Skip to content

feat: make state optional for job orders#743

Merged
anonymoususer72041 merged 1 commit into
opencats:masterfrom
anonymoususer72041:feat/joborders-state-optional
May 13, 2026
Merged

feat: make state optional for job orders#743
anonymoususer72041 merged 1 commit into
opencats:masterfrom
anonymoususer72041:feat/joborders-state-optional

Conversation

@anonymoususer72041
Copy link
Copy Markdown
Contributor

@anonymoususer72041 anonymoususer72041 commented Apr 6, 2026

Summary

This PR makes the state field optional when creating and editing job orders.

This change removes the required marker from the job order add and edit forms, drops the client-side validation that forced a state value and updates the server-side validation so job orders can be saved without a state.

Motivation

OpenCATS is being improved for better internationalization.

Requiring a state works for some countries, but it does not fit well everywhere. In many countries, a state or equivalent administrative region is uncommon, not normally used in job postings or not expected as part of a business address. Making this field optional allows job orders to better reflect local conventions and avoids unnecessary validation failures for users outside state-centric address formats.

@anonymoususer72041 anonymoususer72041 force-pushed the feat/joborders-state-optional branch from 98549db to bbfac39 Compare April 15, 2026 12:29
@anonymoususer72041 anonymoususer72041 force-pushed the feat/joborders-state-optional branch from bbfac39 to 2749c6d Compare April 22, 2026 12:30
@anonymoususer72041 anonymoususer72041 added this to the 1.0.0 milestone May 4, 2026
@anonymoususer72041 anonymoususer72041 force-pushed the feat/joborders-state-optional branch from 2749c6d to d9ea826 Compare May 13, 2026 18:56
@anonymoususer72041 anonymoususer72041 force-pushed the feat/joborders-state-optional branch from d9ea826 to ac8eabe Compare May 13, 2026 19:19
@anonymoususer72041 anonymoususer72041 merged commit be21aa4 into opencats:master May 13, 2026
2 of 3 checks passed
@anonymoususer72041 anonymoususer72041 deleted the feat/joborders-state-optional branch May 13, 2026 19:29
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