Log message #4045616

# At Username Text
# Jun 28th 2017, 11:19 neon1024 Hey @laahudra please can you stop spamming me with code in pm, thanks
# Jun 28th 2017, 11:18 neon1024 Maybe for associations, but then they’re validated in their own class
# Jun 28th 2017, 11:18 neon1024 Although I don’t see why you couldn’t extend the Validator class, and just inside validationDefault, have something like $validator = new MyValidator()
# Jun 28th 2017, 11:16 neon1024 You’ll probably find that some fields are required because they are not nullable in your database
# Jun 28th 2017, 11:16 neon1024 https://book.cakephp.org/3.0/en/core-libraries/validation.html#adding-validation-providers
# Jun 28th 2017, 11:16 neon1024 Why can’t you just use your custom validation class?
# Jun 28th 2017, 11:15 neon1024 Why would you need to alias it?
# Jun 28th 2017, 11:13 laahudra Hello m8's Question: Can I use diffrent validation then "validationDefault(Validator $validator)"? For example "validationCustom(Validator $validator)" Alliased as custom I need it because Form Helper set required field base on validationDefault rules.
# Jun 28th 2017, 10:56 tariquesani :wave:
# Jun 28th 2017, 10:53 vix M getting the option value in select but not text
# Jun 28th 2017, 10:52 boriskanjer hello
# Jun 28th 2017, 10:50 tariquesani @cakephp721 don't bother with a helper for charts. Supply data via an API and keep your code clean
# Jun 28th 2017, 10:48 vix neon1024: Hey tried the same, unfortunately didn't work for me. Could you pls help me out on teamviewer
# Jun 28th 2017, 10:47 marcobimbati-cakephp Just wanted you to know that I tried a way more complex 'contain' => ['Predictions' => ['Matches' => ['Teams','Competitions','Seasons']]] and works like a charm. Thank you again.
# Jun 28th 2017, 10:44 neon1024 I do the same thing for user dropdowns where I want user_id => first_name + last_name
# Jun 28th 2017, 10:43 neon1024 Then your virtual field can be your three things concatenated with a hyphen
# Jun 28th 2017, 10:43 vix :,)
# Jun 28th 2017, 10:42 neon1024 https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#customize-key-value-output
# Jun 28th 2017, 10:42 neon1024 Well find(‘list’) can take options
# Jun 28th 2017, 10:42 neon1024 Also, minor, but your code wouldn’t be valid CakePHP coding style :P
# Jun 28th 2017, 10:42 vix Could u pls help me out. As m not getting perfect answer to that
# Jun 28th 2017, 10:41 neon1024 Also, did you know about https://github.com/friendsofcake/bootstrap-ui
# Jun 28th 2017, 10:41 neon1024 I’d use a virtual property for that
# Jun 28th 2017, 10:40 neon1024 Perhaps, https://cdn.shopify.com/s/files/1/1061/1924/files/Strawberry_Cake_Emoji.png?9898922749706957214
# Jun 28th 2017, 10:39 savant should have been called CakePHP Naruto 4.0
# Jun 28th 2017, 10:39 neon1024 We need an actual strawberry cake emojii I feel
# Jun 28th 2017, 10:39 savant :fish_cake:
# Jun 28th 2017, 10:39 savant :strawberry:
# Jun 28th 2017, 10:39 savant Strawberry ShortCake 4.0 on top
# Jun 28th 2017, 10:39 neon1024 notEmpty(field, message, mode) vs requirePresence(field, mode, message)
# Jun 28th 2017, 10:38 adriencs ?
# Jun 28th 2017, 10:38 neon1024 I wonder if 4.0 will fix notEmpty vs requirePresence param order
# Jun 28th 2017, 10:37 adriencs :strawberry:
# Jun 28th 2017, 10:37 neon1024 ->displayField will work, but is deprecated, so will not work when upgrading to 4.0 Strawberry Cake
# Jun 28th 2017, 10:37 vix ohk sending
# Jun 28th 2017, 10:36 adriencs link to the doc ?
# Jun 28th 2017, 10:36 neon1024 Only in 3.4+
# Jun 28th 2017, 10:36 vix in cakephp 3 its ->setDisplayField
# Jun 28th 2017, 10:36 adriencs isnt `->displayField` and not `->setDisplayField` ?
# Jun 28th 2017, 10:36 vix ohk explaining in brief
# Jun 28th 2017, 10:35 adriencs @vix don't know what are you talking about