New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to select custom type #220

Open
rabol opened this Issue Feb 21, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@rabol

rabol commented Feb 21, 2018

It is not possible to select a 'Custom column type', even if the type is registered using the registerListColumnTypes() in the plugin class

@LukeTowers

This comment has been minimized.

Show comment
Hide comment
@LukeTowers

LukeTowers Feb 21, 2018

Member

We'd have to hook into the form event for modifying the options defined here

options:
text: rainlab.builder::lang.list.column_type_text
number: rainlab.builder::lang.list.column_type_number
switch: rainlab.builder::lang.list.column_type_switch
datetime: rainlab.builder::lang.list.column_type_datetime
date: rainlab.builder::lang.list.column_type_date
time: rainlab.builder::lang.list.column_type_time
timesince: rainlab.builder::lang.list.column_type_timesince
timetense: rainlab.builder::lang.list.column_type_timetense
select: rainlab.builder::lang.list.column_type_select
partial: rainlab.builder::lang.list.column_type_partial
or switch to our own option defining method to dynamically get the column types defined by registerListColumnTypes

Member

LukeTowers commented Feb 21, 2018

We'd have to hook into the form event for modifying the options defined here

options:
text: rainlab.builder::lang.list.column_type_text
number: rainlab.builder::lang.list.column_type_number
switch: rainlab.builder::lang.list.column_type_switch
datetime: rainlab.builder::lang.list.column_type_datetime
date: rainlab.builder::lang.list.column_type_date
time: rainlab.builder::lang.list.column_type_time
timesince: rainlab.builder::lang.list.column_type_timesince
timetense: rainlab.builder::lang.list.column_type_timetense
select: rainlab.builder::lang.list.column_type_select
partial: rainlab.builder::lang.list.column_type_partial
or switch to our own option defining method to dynamically get the column types defined by registerListColumnTypes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment