Ryan Mitchell

Results 370 comments of Ryan Mitchell

Yep that’s my work around. Needs to be handled better in core.

Yeah I tried that, it doesnt seem to work with select list - because there is no form field value present it treats the field as missing so doesnt update...

Maybe the difference is that the staff model field is a relation not a select list? I've tried quite a few ways of handling it (and have a work around),...

From the loyalty extension I'm working on... 'spending_categories' => [ 'tab' => 'lang:igniter.coupons::default.text_tab_restrictions', 'label' => 'lang:igniter.coupons::default.label_categories', 'type' => 'selectlist', 'options' => \Admin\Models\Categories_model::getDropdownOptions(), ],

The only thing I had thought of was adding something around here: https://github.com/tastyigniter/TastyIgniter/blob/1b8315880937c9ba0e58fddd0f38321d438de64b/app/admin/widgets/Form.php#L753 if type is select list and multiple then add a blank value if not present in $data...

I see what you mean - you need to select the placeholder value though - if you select nothing is comes through blank? Doesnt seem intuitive to me. I'll look...

Hmm that seems like a big change this late in the cycle? I think I can make it work by adding a “Select none” option similar to select all -...

Both issues should be fixed with the PR here: https://github.com/tastyigniter/TastyIgniter/pull/677

Can you provide an export of your locations database table, and/or share a private GitHub repo with the codebase and database export required to reproduce this issue?

That search box searches delivery areas. Did you set one up for the test restaurant?