Falko Schindler
Falko Schindler
Yes, the internals of `ui.select` expect the `value` to be one of the pre-defined options. Like every other `ChoiceElement` it creates a kind of lookup table `[{'value': index, 'label': option},...
Yes, a custom component is definitely an option. But I'll look into it once again and try to combine `ui.select` with the input field. Maybe I just have to remove...
That's really difficult... I got it somehow working on the [search-as-you-type](https://github.com/zauberzeug/nicegui/tree/search-as-you-type) branch. But the UX is pretty bad: When the user types the first letters, the list is filtered correctly....
Or can we let the existing `ui.select` use Allen's `select_filter` as a wrapper for `q-select`? It would only need to add filtering and pass all other props, events and slots...
This is starting to look very promising! I managed to wrap `q-select` with a custom component similar to the one from here: https://github.com/zauberzeug/nicegui/issues/272#issuecomment-1444835860. But I could even simplify quite a...
Ok, this feature is finally complete. I just merged it onto main.
@Allen-Taylor How can we proceed? Have you looked into the instructions @rodja posted [here](https://github.com/zauberzeug/nicegui/discussions/404#discussioncomment-5060524)? Where exactly are you struggling?
Commit [de84175](https://github.com/zauberzeug/nicegui/commit/de84175caaebc79584cc721e53c5c40e3967ed86) (based on Allen's suggestion) should fix this issue. @Allen-Taylor We'd really like to add you as an official contributor to NiceGUI, which - unfortunately only works via pull...
Tests are red. But this seems to have nothing to do with `ui.background` but with `ui.date`. It's March...
The new `query` function (see #411) looks promising. The following code works as expected: ```py ui.label('Hello world!') ui.button('Red background', on_click=lambda: ui.query('body').classes(replace='bg-red-100')) ui.button('Blue background', on_click=lambda: ui.query('body').classes(replace='bg-blue-100')) ui.button('Small padding', on_click=lambda: ui.query('body').style('padding: 1px'))...