Skip to content

Unable to clear Salary & Compensation fields after initial save and missing "Negotiable" option #154

@ntuan2502

Description

@ntuan2502

Summary

In the Job Settings under Salary & Compensation, while the fields can be left empty during the first save, once values (Minimum/Maximum Salary, etc.) have been entered and saved, they cannot be cleared back to an empty state. Additionally, there is a need for a "Negotiable" option to bypass mandatory salary ranges.

Steps to reproduce

  1. Go to Job menu and select a specific Job.
  2. Navigate to Settings -> Salary & Compensation.
  3. (Optional) Note that fields can be saved while empty initially.
  4. Enter values for: Minimum Salary, Maximum Salary, Currency, and Pay Period.
  5. Click Save (Data is saved successfully).
  6. Attempt to delete all values in these fields to make them empty again.
  7. Click Save.
  8. Observe that the fields either restore the previous values or fail to update to an empty state.

Expected behavior

  1. Users should be able to clear previously saved salary information and return the fields to an empty state.
  2. A "Negotiable" checkbox/toggle should be implemented.
    • When checked: It should allow saving without numerical salary values and potentially hide the Min/Max input fields.
    • When unchecked: It allows users to input specific salary ranges.

Actual behavior

  1. The system allows saving empty fields only if they have never been filled. Once data is saved, it becomes "permanent" in the UI/Database and cannot be reset to null/empty through the interface.
  2. There is currently no "Negotiable" status, forcing users to provide specific numbers even if the salary is not yet fixed.

Version / commit

No response

Environment

No response

Logs / screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions