WIP DropdownInput

- Moved some setup to onMounted
- Added local prop bindings
- Strict to loose key comparison
- Generalized form style for .form as well
- Test page updated to include NicerForm and Selects
This commit is contained in:
adroslice 2023-10-22 22:16:08 +02:00
parent cc16f81067
commit e749f68fef
3 changed files with 50 additions and 39 deletions

View file

@ -25,17 +25,18 @@ input {
padding: 0.25rem;
}
form {
form, .form {
display: grid;
grid-template-columns: auto 1fr;
padding: 0.5rem;
gap: 0.5rem;
}
form > :is(button, .button, h1) {
:is(form, .form) > :is(button, .button, h1) {
grid-column: 1 / 3;
}
form > :is(label) {
:is(form, .form) > label {
grid-column: 1;
padding: 0.25rem;
}
table {