Replies: 4 comments
-
Do you have a proposal for the api? One possible solution is to expose more chip attributes like:
Another would be to expose an event
self.chips_input.chip_template = Chip(foreground='white', background='theme:Secondary 500')
def chips_input_chip_highlight(self, chip, **event_args):
chip.foreground = 'blue'
chip.background = 'white' |
Beta Was this translation helpful? Give feedback.
-
I wish I had the python skills to recommend a direction, I do not as only been in it this year. I would think attributes would be the best way to go. Or ChipsInput accepts the Chip that already has the attributes. |
Beta Was this translation helpful? Give feedback.
-
Apart from colors is there anything else that is missing? |
Beta Was this translation helpful? Give feedback.
-
Colors came out something that would be very handy for quick color status of the various chips But..... if you wanna pack a lot of punch to a chip, the pop-over ability would be awesome too. highlight the chip and it pops up extra options, or extra information, or anything like that. I am sure that is much much harder to implement just by judging the doc online. |
Beta Was this translation helpful? Give feedback.
-
Would love the ChipsInput to take an actual Chip component, can change the background color of the chip going in. Would love to show the colors showing where a chip is within a workflow process. Would this be possible now? Using ChipsInput ?
Beta Was this translation helpful? Give feedback.
All reactions