Project

General

Profile

Actions

roos-fs tasks #292

open

(DRAFT) Add OR Logic when using Service Template in Service Add Screen

Added by Vadim Golub 9 months ago. Updated 5 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
08/12/2025
Due date:
% Done:

0%

Estimated time:

Description

Currently, the Create Service form allows selecting both a Template and manually entering a Service Name, which can lead to confusion and logical conflicts.

The intended logic is:

  • *Either the user selects a template (pre-fills service details),
  • Or the user creates a service from scratch by manually entering a Service Name.*
    Selecting both at the same time should not be possible.

Here's Screenshot from the client:

Required Implementation:

  • Functional Logic (OR condition).
  • If a Template is selected - Disable the Service Name input (greyed out, not editable) AND Auto-populate Service Name from the template (if applicable).
  • If no Template is selected - Enable the Service Name input for manual entry.
  • If the user clears the selected template - Service Name input becomes active again. (ability to clear the template will be covered in ticket #293)

Expected Behavior:

  • Users can either create a service from a template or define a new service from scratch.
  • No possibility to set both at the same time.
  • Existing templates and create-from-scratch flow remain functional.

Files

clipboard-202508121551-jpbnn.png (159 KB) clipboard-202508121551-jpbnn.png Vadim Golub, 08/12/2025 12:51 PM
Actions

Also available in: Atom PDF