Git Product home page Git Product logo

silverstripe-elemental-decisiontree's Introduction

Element Decision Tree

Introduction

A decision tree is a succession of questions which depends on each others answers and displays a result accordingly. This module provides an easy way to build such tree and to add it to a page as an element.

Installation (with composer)

$ composer require dnadesign/silverstripe-elemental-decisiontree

Requirements

Screenshots

silverstripe-elemental-decisiontree's People

Contributors

adrexia avatar alex-dna avatar edwilde avatar jakxnz avatar jules0x avatar satrun77 avatar scott-nz avatar scott1702 avatar wilr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

silverstripe-elemental-decisiontree's Issues

Uncaught TypeError: radio.props is not a function

Versions

dnadesign/silverstripe-elemental-decisiontree   2.0.2

Issue:

Using a "Start again" button breaks the decision tree

Steps to reproduce:

  1. Create a tree with at least one result
  2. Use the decision tree until you reach the result
  3. Use the "Start again" button

Expected behaviour:

The decision tree resets and can be re-used

Actual behaviour:

The decision tree resets, but after it visually resets, a JS error occurs and the tree is no longer use-able:

Uncaught TypeError: radio.props is not a function

packagist has unknown version number 2.3.0

Packagist has a version that does not exist in github.

https://packagist.org/packages/dnadesign/silverstripe-elemental-decisiontree#2.3.0

I think this causes the following error with composer update

  Problem 1
    - dnadesign/silverstripe-elemental-decisiontree[2.2.0, ..., 2.3.0] require dnadesign/silverstripe-elemental ^5 -> satisfiable by dnadesign/silverstripe-elemental[5.0.0-alpha1, ..., 5.x-dev].
    - dnadesign/silverstripe-elemental[5.0.0-alpha1, ..., 5.x-dev] require silverstripe/versioned ^2 -> satisfiable by silverstripe/versioned[2.0.0-alpha1, ..., 2.x-dev].
    - You can only install one version of a package, so only one of these can be installed: silverstripe/versioned[1.0.0-alpha6, ..., 1.x-dev, 2.0.0-alpha1, ..., 2.x-dev].
    - silverstripe/recipe-cms 4.9.x-dev requires silverstripe/versioned 1.9.x-dev -> satisfiable by silverstripe/versioned[1.9.x-dev].
    - silverstripe/installer 4.9.x-dev requires silverstripe/recipe-cms 4.9.x-dev -> satisfiable by silverstripe/recipe-cms[4.9.x-dev].
    - Root composer.json requires silverstripe/installer 4.9.x-dev -> satisfiable by silverstripe/installer[4.9.x-dev].
    - Root composer.json requires dnadesign/silverstripe-elemental-decisiontree ^2.2 -> satisfiable by dnadesign/silverstripe-elemental-decisiontree[2.2.0, 2.2.1, 2.3.0].

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.