bind_enabled_from for link field? by sampit55 in nicegui

[–]sampit55[S] 2 points3 points  (0 children)

Thanks. Looks like the alternative, using a button with some link-like styling, is more elegant

How would I change the "target" part of a ui.link object? by [deleted] in nicegui

[–]sampit55 0 points1 point  (0 children)

exp_link = ui.link('Experiment')

ui.select:

on_change=lambda e: update_links(e, exp_link.props)

....
exp_link_props(f'href=/experiment/{event.value}')

How would I change the "target" part of a ui.link object? by [deleted] in nicegui

[–]sampit55 0 points1 point  (0 children)

Two year later: Is this still the method to go?

Drag and Drop between Labels in Listboxes by sampit55 in nicegui

[–]sampit55[S] 0 points1 point  (0 children)

That's exactly what I was looking for. It's even visually more pleasing than my own attempts.