From ea028c5ea02b498f114432af37d288d3f047ab70 Mon Sep 17 00:00:00 2001 From: Umer Salman Date: Wed, 27 Apr 2022 17:29:27 -0500 Subject: [PATCH] Add notice on README for UIViewTrait --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index f90e8bfd..344240fb 100644 --- a/README.md +++ b/README.md @@ -192,6 +192,11 @@ class AppView extends View } ``` +Note that if you already have the CakePHP helpers that `BootstrapUI` comes with added in your controllers, they should be removed. +For example, `$this->viewBuilder()->addHelpers(['Html', 'Form', ...]);` should be removed so that the `BootstrapUI` helpers are called +via the Trait. + + #### Copying example layouts In order to be able to use the BootstrapUI example layouts (directly taken from the Bootstrap examples), they need to be