# |
Jul 5th 2021, 14:39 |
dereuromark |
also latest phpstorm? |
# |
Jul 5th 2021, 14:36 |
jotpe |
4.2 |
# |
Jul 5th 2021, 14:36 |
dereuromark |
are you on latest cake core? |
# |
Jul 5th 2021, 14:36 |
jotpe |
Didn't solve the problem, I guess i'll just leave it. |
# |
Jul 5th 2021, 14:34 |
jotpe |
Tried it, I guess I opened pandora's box...indexing :) |
# |
Jul 5th 2021, 14:29 |
kevin.pfeifer |
sometimes phpstorm gets stuck on something and then the autocomplete/error messages are weid for me too |
# |
Jul 5th 2021, 14:29 |
kevin.pfeifer |
have you tried `File` => `Invalidate Caches`? |
# |
Jul 5th 2021, 14:27 |
jotpe |
Weird |
# |
Jul 5th 2021, 14:26 |
jotpe |
it is @kevin.pfeifer |
# |
Jul 5th 2021, 14:26 |
jotpe |
They're identical to the params in BaseApplication and HttpApplicationInterface |
# |
Jul 5th 2021, 14:26 |
kevin.pfeifer |
I guess your `use X/Y/Z/MiddlewareQueue` is not `Cake\Http\MiddlewareQueue` |
# |
Jul 5th 2021, 14:25 |
dereuromark |
but no big deal IMO |
# |
Jul 5th 2021, 14:25 |
dereuromark |
most likely var name |
# |
Jul 5th 2021, 14:23 |
jotpe |
|
# |
Jul 5th 2021, 14:23 |
jotpe |
Anybody knows why PHPStorm is complaining about this? |
# |
Jul 5th 2021, 13:58 |
jotpe |
Worked perfectly, ty |
# |
Jul 5th 2021, 13:29 |
jotpe |
thanks @info315 |
# |
Jul 5th 2021, 13:28 |
jotpe |
@dereuromark you mean DbMaintenanceShell? |
# |
Jul 5th 2021, 13:27 |
info315 |
@jotpe I convert my tables like so: https://github.com/it-novum/openITCOCKPIT/blob/development/UPDATE.sh#L123-L132 |
# |
Jul 5th 2021, 13:23 |
dereuromark |
I have custom scripts for that in Setup plugin that can help u |
# |
Jul 5th 2021, 13:22 |
ndm |
IIRC that's not supported... you'll probably have to run custom raw `ALTER TABLE` SQL. |
# |
Jul 5th 2021, 13:14 |
jotpe |
```$authors = $this->table('authors', ['collation' => 'utf8mb4_unicode_ci']); $authors->update();``` |
# |
Jul 5th 2021, 13:14 |
jotpe |
Hey guys. I want to migrate some of my tables to use utf8mb4. This doesn't work. Any suggestions? |
# |
Jul 5th 2021, 12:58 |
paolo.bragagni |
humm ok |
# |
Jul 5th 2021, 12:48 |
kevin.pfeifer |
how about using the search? https://select2.org/data-sources/ajax |
# |
Jul 5th 2021, 12:45 |
paolo.bragagni |
I'd like to retrieve the list via ajax |
# |
Jul 5th 2021, 12:33 |
kevin.pfeifer |
https://select2.org/getting-started/basic-usage |
# |
Jul 5th 2021, 12:21 |
paolo.bragagni |
some example somewhere? |
# |
Jul 5th 2021, 12:13 |
paolo.bragagni |
qhere is select2 |
# |
Jul 5th 2021, 11:41 |
info315 |
inoas: true |
# |
Jul 5th 2021, 11:24 |
inoas |
missing you on irc.libra.chat |
# |
Jul 5th 2021, 09:58 |
kevin.pfeifer |
select2 or chosen is also a good JS library for that |
# |
Jul 5th 2021, 09:54 |
dereuromark |
select2 for example |
# |
Jul 5th 2021, 09:54 |
dereuromark |
Most autocomplete solutions have that built in, they can set the original field with the ID here. |
# |
Jul 5th 2021, 09:53 |
erwane |
put it in a hidden field, comma separated list. Don't forget to unprotect the hidden field before or FormProtector will warn |
# |
Jul 5th 2021, 09:20 |
paolo.bragagni |
the problem is that I dont know how to put the id (of lingua in this case) in my field so that it can save |
# |
Jul 5th 2021, 09:18 |
paolo.bragagni |
and it shows correctly results in my 'lingue' field |
# |
Jul 5th 2021, 09:17 |
paolo.bragagni |
for examplein my add for libri if I call doAc('lingua_id', 'Lingue' , 'title'); it checks for typing in my lingua_id field and it retrieve the id and the title (of Table Lingue) |
# |
Jul 5th 2021, 09:13 |
paolo.bragagni |
my js works and it query with part of field |
# |
Jul 5th 2021, 09:13 |
paolo.bragagni |
Hi in my add view I'd like to make an autocomplete for related fields (via js) |
# |
Jul 4th 2021, 20:52 |
me1367 |
Yea.. though we'll see... I hope it'll be a relatively small one though... Mainly considering that the amount of big changes in CakePHP 7.4 and 8.0 is not too big... |