Giter VIP home page Giter VIP logo

easydb-editor-field-visibility-plugin's Introduction

This Plugin / Repo is being maintained by a community of developers. There is no warranty given or bug fixing guarantee; especially not by Programmfabrik GmbH. Please use the github issue tracking to report bugs and self organize bug fixing. Feel free to directly contact the committing developers.

easydb-editor-field-visibility

Custom Mask Splitter to hide fields in Editor, depending on another fields value. Right now, the triggerfield must be a custom-data-type-dante or a boolean-field

This is a plugin for easyDB 5 with MaskSplitter EditorFieldSelection.

configuration

This masksplitter can be configured:

Mask options

  • Name of the observed field, which triggers the visibility of fields
  • JSON-Map about the fields to hide. See example below
  • JSON-Path with which the JSON-Map starts
Example JSON-Config
{
	"capture_journey": {
		"value": "http://uri.gbv.de/terminology/prizepapers_journey_type/f005efa8-7340-4b45-bb52-77ce42a42e25",
		"fields": ["journey.journey__mehrfach.field1", "journey.journey__mehrfach.journey__mehrfach__mehrfach2.bool"]
	},
	"forced_journey": {
		"value": "http://uri.gbv.de/terminology/prizepapers_journey_type/db0ecf20-96ca-45bf-b0c2-eb2097adf1f0",
		"fields": ["journey.place_end_intended", "journey.capture", "journey.journey__mehrfach.journey__mehrfach__mehrfach2"]
	},
	"journey": {
		"value": "http://uri.gbv.de/terminology/prizepapers_journey_type/94b943b7-ee9f-4818-8b8e-d7d4beef58fb",
		"fields": ["journey.place_end_intended", "journey.capture", "journey.journey__mehrfach.journey__mehrfach__mehrfach2.bool", "journey.journey__mehrfach.journey__mehrfach__mehrfach2.sex"]
	}
}

sources

The source code of this plugin is managed in a git repository at https://github.com/programmfabrik/easydb-editor-field-visibility. Please use the issue tracker for bug reports and feature requests!

easydb-editor-field-visibility-plugin's People

Contributors

stiftungausnachlass avatar mad-pf avatar martinrode avatar

Watchers

Brian Wiborg avatar James Cloos avatar  avatar Roman avatar Lucas Hinderberger avatar Steffi avatar Francisco Javier avatar Klaus Thorn avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.