Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
M
MobileAudit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • BlocPower
  • MobileAudit
  • Merge Requests
  • !9

Merged
Opened Oct 04, 2016 by Tillie Kottmann@deletescapeOwner

Added toggle for entity fields.

  • Overview 5
  • Commits 4
  • Changes 9

Created by: andylbrummer

This change adds a toggle element to the upper right corner of every form. It toggles the state of the form between on site and office views. This hides and shows fields based on the visibleStates property of the jsonSchema definition.

The state of all the toggles is shared across the application and is persisted, so when any form is set to a state, all the forms will be set to the same state.

Fields marked with visibleStates: "any" will show up regardless of the form state. The two form states for the toggle are [null, "onsite"], null will show all fields regardless of their visibleStates property. This means that most field definitions don't need to be updated.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: exconfidential/blocpower/MobileAudit!9
Source branch: toggle_marked_fields