Live data from Hacker News

FormKit: Form building framework for Vue 3

formkit.com

41–50 of 69 posts

Re: FormKit: Form building framework for Vue 3

#41
post #33

Earlier quoted context omitted.

Imagine if you write a java program and you execute it to get BSOD on windows, is that reasonable?

In that case you should blame Windows not Java.

Correct. And in this case, Chrome seems to be working as intended. Crashing the tab when bad code is written sounds like the correct behavior.

Re: FormKit: Form building framework for Vue 3

#45
post #34

Whenever I see these form frameworks the first thing I do is click the label to ensure it focuses the input field. Aaaand pass, good job!

It does appear to do that for me in their example on the homepage (desktop Firefox), though?

Doesn't this happen by default in most cases where a regular is used?

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/la...

> When a user clicks or touches/taps a label, the browser passes the focus to its associated input (the resulting event is also raised for the input). That increased hit area for focusing the input provides an advantage to anyone trying to activate it — including those using a touch-screen device.

Re: FormKit: Form building framework for Vue 3

#46
post #34

Whenever I see these form frameworks the first thing I do is click the label to ensure it focuses the input field. Aaaand pass, good job!

That's a very low bar, I wouldn't even check because it's to be expected. Are there any form frameworks getting traction that are so broken?

What would you know, today I learned

Re: FormKit: Form building framework for Vue 3

#47
post #44

Is there something like this for bootstrap?

Honestly I would rather have a UI-less solution a bit like the "Reactive Forms" from Angular.

For clarity, the base theme — Genesis — is 100% optional. FormKit is not and does not aspire to be a UI library.

Re: FormKit: Form building framework for Vue 3

#48
post #44

Earlier quoted context omitted.

Honestly I would rather have a UI-less solution a bit like the "Reactive Forms" from Angular.

For clarity, the base theme — Genesis — is 100% optional. FormKit is not and does not aspire to be a UI library.

Ah great! I didn't read the docs closely, just did a quick surface scan.

I'll definitely check this out.

Re: FormKit: Form building framework for Vue 3

#49
post #48

Earlier quoted context omitted.

For clarity, the base theme — Genesis — is 100% optional. FormKit is not and does not aspire to be a UI library.

Ah great! I didn't read the docs closely, just did a quick surface scan. I'll definitely check this out.

Hit us up in Discord if you have any issues! We've got a very active community and someone (including the maintainers) will be able to help if you're stuck!

Re: FormKit: Form building framework for Vue 3

#50
post #23
post #18

I love these sorts of frameworks! Makes doing forms a lot nicer, especially the live validation. I feel like the next evolution is automatically generating a whole form from selecting a schema in an OpenAPI spec. In a lot of specs, the type (string, email, phone, int, etc) is present along with any constraints (min/max length). Depending on the language/OpenAPI generator, it even preserves field order. It could massi…

As for me, forms are the single most important aspect of many web apps. Including critical ones for the society (banking, tickets, taxes, etc). Large part of my frustration with the state of web stems from how terrible experience with (creating and using) forms is. Web is almost 30 years old by now, and the announce of a way to make forms relatively easily, still generates an excitement. I mean, how many more years w…

I watched a video recently on how to make fire. 30,000 years we’ve been doing it, and videos like that are still interesting!
Post reply on HN