Pascal Baljet

@pascalbaljet
46 Followers
43 Following
202 Posts
Owner of https://protone.media. Builds https://inertiaui.com. Open-source enthusiast. Fan of PHP, Laravel, Inertia.js + Vue, and Tailwind CSS ๐Ÿš€
โ€จhttps://pinkary.com/@pascalbaljet

Put a lot of time into the Datepicker this week! ๐Ÿ“…

Itโ€™s not just a 3rd party library. Iโ€™ve mixed and matched features I like from different ones, added a bunch of custom code, and made it super configurable.

No fussing with anatomy, no need to manually wire up components, etc. Just works ๐Ÿ‘Œ

Cheers!
Worked on the Select component of Inertia Form tonight. It accepts arrays, key-value objects, grouped options โ€” basically anything you throw at it. Button, input, and items are fully customizable via slots, and it supports async option loading.

Ever tried to debug an element in your web inspector that closes when you click away? ๐Ÿ˜ฉ

This little checkbox, โ€œEmulate a focused pageโ€, lets you inspect dropdowns, popovers, etc. with ease ๐Ÿง˜

Ever needed to stack two HTML elements on top of each other? ๐Ÿค”

You might reach for absolute positioning, but today I learned you can do it with CSS Grid too! Just place both elements in the same grid cell โฌ‡๏ธ

Here's the Inertia Form code snippet for the example above

Did you know you can provide a list with autocomplete options to a regular HTML input element?

It can't compete with the JavaScript-driven plugins out there with extensive options and customization, but it's neat and built into the browser! ๐Ÿ‘Œ

One of the first cool things I want to share about Inertia Form: Iโ€™ve adopted TypeScript! ๐Ÿ› ๏ธ

The other packages will follow too. And beyond the usual TS benefits, it really shines here since lots of props are shared between components.

๐Ÿ‘€
Deferred props, lazy props, and optional props (WhenVisible component) are coming to Inertia Modal โœŒ๏ธ