| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
New the-basics/validation.md (order 158): validate()/validateOnly() semantics (abort handler, keep state, render with $errors — identical on device and web), the repeatable #[Validate] attribute with eager per-sync validation and rule merging, rules()/messages(), inline rule scoping, FormRequest sharing (method injection, props-only data scope, authorize() never called), the explicit-only error-display contract (@error, @nativeError, input error/supporting attributes), manual bag control, and per-component child scoping. the-basics/events.md additions: both #[On] spellings (idempotent native: prefix), the fluent Pending* outcome callbacks and onSuccess() sugar, callback durability (two-tier storage; $this-closures survive a process kill via serialize-and-rebind, with the serializable-captures / no-eval / persistent-cache constraints; method-name strings as the most robust form), and per-listener validation isolation, cross-linked to the new validation page. Every documented fact verified against the live core source and its test suites (26 validation + 8 durable-callback tests). Prose Blade directives are @@-escaped per site convention — docs .md pages compile through Blade, and an unescaped bare @error in prose is an unclosed if. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Ready to go once NativePHP/mobile-air#301 is released |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Documents the two feature PRs landing in core (NativePHP/mobile-air#301 and #302) for the v4 mobile docs.
New page — the-basics/validation.md (order 158, between Nested Components and Dialogs):
Updated — the-basics/events.md:
Verification
Every documented fact was verified against the live core source and its test suites (26 validation tests + 8 durable-callback tests) rather than written from memory. Both pages render 200 on nativephp.test; prose Blade directives are @@-escaped per site convention (the docs pipeline compiles .md through Blade — a bare @error in prose is an unclosed if).
Note for reviewers: the feature PRs are not merged yet — this shouldn't ship before they do. One known naming inconsistency left alone per scope rules: text-input.md documents the error attribute as is-error while this page uses the :error alias (both are accepted by BaseTextInput).
🤖 Generated with Claude Code