
@adun
- Member Since
- Jul 31, 2024
- Lessons Completed
- 92
- Comments Contributed
- 2
- Hours Watched
- 10.71
Recent Activity
Here's what @adun has been up to this past year
-
Completed lesson Listing and Filtering User Watchlist Items
-
Completed lesson Toggling A Movie in an Authenticated User's Watchlist
-
Completed lesson An Alternative Approach to Many-To-Many Relationships
-
Completed lesson Pagination First, Last, Next, and Previous Buttons
-
Replied to I had a strange behavior, the movie index page search :OK without...
More info here:
[Empty fields lead to empty strings](https://vinejs.dev/docs/html_forms_and_surprises#empty-fields-lead-to-empty-strings)
Additionally, if you want to allow searching with a two-word string (e.g., 'the p'), update the validation pattern as follows:search: vine.string().alphaNumeric({ allowSpaces: true }).optional(),
-
Commented on post Validating Query String Filter Values
I had a strange behavior, the movie index page search :
OK without a query filter
OK with an alphanumeric query filter
Fails after removing an existing query filter, showing the following error after the title input:
The search field must contain only letters and numbers
When the query filter is removed, the search field value becomes an empty string instead of
undefined
ornull
.To fix this behavior, add the following line after your import statements:
vine.convertEmptyStringsToNull = true
-
Completed lesson How To Paginate Filtered Query Results
-
Completed lesson Validating Query String Filter Values
-
Completed lesson Joining SQL Tables To Order By A Related Column
-
Completed lesson How To Apply A Dynamic Sort Filter To Your Query
-
Completed lesson Filtering Our List by Movie Status
-
Completed lesson Filtering A Query By Pattern Likeness
-
Anniversary Thanks for being an Acocasts member for 1 year
-
Completed lesson Creating A Movie List Page
-
Completed lesson Protecting Routes with Auth, Guest, and Admin Middleware
-
Completed lesson Remembering A User's Authenticated Session
-
Completed lesson Logging In An Existing User
-
Completed lesson Logging Out An Authenticated User
-
Completed lesson Checking For and Populating an Authenticated User
-
Completed lesson Authenticating A Newly Registered User
-
Completed lesson The Flow of Middleware
-
Completed lesson How To Create A Custom VineJS Validation Rule
-
Completed lesson Creating A Login Form and Validator
-
Completed lesson Creating An EdgeJS Form Input Component
-
Completed lesson Reusing Old Form Values After A Validation Error
-
Completed lesson Displaying Validation Errors and Validating from our Request
-
Completed lesson Validating Form Data with VineJS
-
Completed lesson Accepting Form Data
-
Completed lesson How To Query, Sort, and Filter by Pivot Table Data
-
Completed lesson How To Create Factory Relationships from a Pool of Data
-
Completed lesson A Deep Dive Into Relationship CRUD with Models
-
Completed lesson Many-To-Many Model Factory Relationships
-
Completed lesson Defining Many-To-Many Relationships and Pivot Columns
-
Completed lesson Using Eager and Lazy Loading to Load A Movie's Writer and Director
-
Completed lesson Listing and Counting a Writer's Movies
-
Completed lesson Listing A Director's Movies with Relationship Existence Queries
-
Completed lesson Seeding Movies with One to Many Model Factory Relationships
-
Completed lesson Defining One to Many Relationships with Lucid Models
-
Completed lesson Cascading and Deleting Model Relationships
-
Completed lesson Querying Relationships and Eager Vs Lazy Loading
-
Completed lesson Model Factory Relationships
-
Completed lesson Defining One to One Relationships Within Lucid Models
-
Completed lesson Generating A Unique Movie Slug With Model Hooks
-
Completed lesson Querying Recently Released and Coming Soon Movies
-
Completed lesson Tapping into Model Factory States
-
Completed lesson Reusable Query Statements with Model Query Scopes
-
Completed lesson SQL Parameters and Injection Protection
-
Completed lesson Adding A Profile Model, Migration, Factory, and Controller
-
Completed lesson Altering Tables with Migrations
-
Completed lesson Unmapped and Computed Model Properties
-
Completed lesson Querying Our Movies with the Query Builder
-
Completed lesson Stubbing Fake Data with Model Factories
-
Completed lesson Defining Required Data with Seeders
-
Completed lesson The Basics of CRUD
-
Completed lesson Defining Our Models
-
Completed lesson Introducing Lucid Models
-
Completed lesson The Flow of Migrations
-
Completed lesson Introducing and Defining Database Migrations
-
Completed lesson Understanding our Database Schema
-
Completed lesson Configuring Lucid and our Database Connection
-
Completed lesson Easy SVG Icons with Edge Iconify
-
Completed lesson HTTP Method Spoofing HTML Forms
-
Completed lesson Form Basics and CSRF Protection
-
Completed lesson Share vs Global Data Flow
-
Completed lesson State vs Share Data Flow
-
Completed lesson Extracting A Layout Component
-
Completed lesson Use Slots To Make A Button Component
-
Completed lesson Component Tags, State, and Props
-
Completed lesson Making A Reusable Movie Card Component
-
Completed lesson HTML Attribute and Class Utilities
-
Completed lesson EdgeJS Templating Basics
-
Completed lesson Easy Imports with NodeJS Subpath Imports
-
Completed lesson Quick Start Apps with Custom Starter Kits
-
Completed lesson Deleting Items and Flushing our Redis Cache
-
Completed lesson Improved Caching with Redis
-
Completed lesson Environment Variables and their Validation
-
Completed lesson Singleton Services and the Idea of Caching
-
Completed lesson Defining A Structure for our Movie using Models
-
Completed lesson Cleaning Up Routes with Controllers
-
Completed lesson Extracting Reusable Code with Services
-
Completed lesson Listing Movies from their Markdown Files
-
Completed lesson Reading and Supporting Markdown Content
-
Completed lesson Setting Up Tailwind CSS
-
Completed lesson Vite and Our Assets