Open kevinpapst opened 4 years ago
thank you so much for trying this. it would be very useful. may i also suggest some kind of admin page to manage the choice-list. in our case, i had to alter the mysql table to allow more than 256 chars because of the limitation and because our list is quite large (i know i probably shouldnt have done this but i had to try to make it work)
which table and field are you referring to? the "value" field from this bundle?
this was what i did to allow more lists (default to varchar 255):
ALTER TABLE kimai2_meta_field_rules
CHANGE value
value
VARCHAR(8096);
Oh .... well that must be a really long list ^^ If more people need a longer value, I can increase the size, but likely not to to 8096. Please keep in mind that in future updates you need to check the newest Migrations in this directory to make sure that this field was not changed. Otherwise you might loose your changes.
yes its a long one because we need to put the code and description for every entry :-D thanks for reminding about Migrations.
Customer wish: extend choice-list so users can choose multi values.