10
AugWith the Laravel Realtime Input package, you can enjoy real-time input validation by passing your rules in your input itself.
This package is tested with Laravel v8 and it should work on Laravel v7 and v9
You can install this package by using composer:
composer require yemeni-open-source/blade-realtime-input
<x-realtime-input::strings name="username" rules="required|min:5" />
You can add id, class, or type other HTML attributes to your input like following
<x-realtime-input::strings rules="required|min:5" name="username" :id="'user'"
:class="'form-control'" />
You can add array names like following
<x-realtime-input::strings name="username[]" rules="required|min:5" :id="'user'"
:class="'form-control'" />
So to add class=“form-control”
it should be :class="‘form-control’"
Note the colon :
before the attribute and the single quotation “’’”
inside the double quotation.
If you are a business and want to utilize Laravel for your next PHP-based web application, CRM Software, E-commerce application, SAAS application, or any custom web application development for your bespoke requirements, you must discover an impeccable team with experience in the Laravel framework. So Codebrisk is here to help you with your tailored requirements regarding Laravel Development. Please feel free to send us an email at rizwan@codebrisk.com or get in touch with us, our business person will get back to you.
Published at : 10-08-2022
I am a highly results-driven professional with 12+ years of collective experience in the grounds of web application development especially in laravel, native android application development in java, and desktop application development in the dot net framework. Now managing a team of expert developers at Codebrisk.
Launch project