Created by: bekicot
first of all, sorry for the late PR :)
allow collection to accept proc as value. usage:
release_year: Field::Select.with_options(collection: -> { (Time.current.year - 10)..Time.current.year })
closes #1535 (closed)
Created by: bekicot
first of all, sorry for the late PR :)
allow collection to accept proc as value. usage:
release_year: Field::Select.with_options(collection: -> { (Time.current.year - 10)..Time.current.year })
closes #1535 (closed)