2017 © Pedro PelĂĄez
 

lagan-template template-optionselect

Template to use a fixed array of options with the Lagan String property.

image

lagan/template-optionselect

Template to use a fixed array of options with the Lagan String property.

  • Monday, January 29, 2018
  • by lutsen
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Lagan, (*1)

Lagan Properties Optionselect Template

Admin template to use a fixed array of options with the Lagan String property. You define options in the properties of a model like this:, (*2)

'options' => [
    'option_a' => [ 'name' => 'Option A' ],
    'option_b' => [ 'name' => 'Option B' ]
]

You can set the validation rule in the String property like this:, (*3)

'validate' => 'inlist({"list": {"0":"option_a", "1":"option_b"}})'

To be used with Lagan. Lagan lets you create flexible content objects with a simple class, and manage them with a web interface., (*4)

Lagan is a project of LĂștsen Stellingwerff., (*5)

The Versions

29/01 2018

dev-master

9999999-dev

Template to use a fixed array of options with the Lagan String property.

  Sources   Download

MIT

The Requires

 

template property lagan optionselect

04/10 2017

v1.0.0

1.0.0.0

Template to use a fixed array of options with the Lagan String property.

  Sources   Download

MIT

The Requires

 

template property lagan optionselect