Score field type based on pyrocms

spotony - 3 months ago

Thanks pryocms to provide a powerful processing platform

The field type in the https://github.com/spotony/raty.git

Usage

"example" => [
    "type"   => "spotony.field_type.raty",
    "config" => [
        "default_value" => 5,
        "min"       => 1,
        "max"       => 5,
    ]
]

Setting Values

You can set the raty field type value with any valid integer.

 $entry->example = 5;

Basic Output

$entry->example; // 5

ryanthompson - 3 months ago

Cool! Looking forward to checking out but have an issue on assigning it.