Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: In-Model validation errors are not treated by withInput()
Post: RE: In-Model validation errors are not treated by ...

kenjis Wrote: (04-24-2023, 09:47 PM) -- If you use only one model, you can pass the shared validation object (Services::validation()) as the second parameter in the model.'s constructor. -- Even if u...
1,157 Views
5 Replies
04-25-2023, 12:28 AM
splash58
    Thread: In-Model validation errors are not treated by withInput()
Post: RE: In-Model validation errors are not treated by ...

kenjis Wrote: (04-24-2023, 09:43 PM) -- Each model has a new Validation object by default, because you can use any number of models at at time. So you cannot set the validation errors with the withI...
1,157 Views
5 Replies
04-24-2023, 10:17 PM
splash58
    Thread: In-Model validation errors are not treated by withInput()
Post: In-Model validation errors are not treated by with...

If  the in-Controller validation is used , the errors are pushed into the session and available when the next page is processed. But not so  the in-model with validation. WithErrors does not see these...
1,157 Views
5 Replies
04-24-2023, 12:06 PM
splash58

Theme © iAndrew 2016 - Forum software by © MyBB