10 ms·
Why have `<div data-part="form">` instead of using a `<form>` element?
by rounce 7mo ago
Why have `<div data-part="form">` instead of using a `<form>` element?
- zhisme 7mo agothis! it is absolutely nuts having everything in div/span elements and then assigning data/class attributes so they could behave like form or any other interactable element..
- draw_down 7mo ago[dead]
- usrbinenv 7mo agoYou can have <form data-part="form"> too. The tag doesn't matter. The data-component, data-roles, data-part or data-field attributes is what makes your HTML be a component, a component part or a field in Qite.