Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Problem on dbc InputGroupAddon formatting

$
0
0

Hi community, first time here. I have a question regarding dbc InputGroupAddon formatting

Capture

I have three inputs with inputgroupaddon prepended. I want to align the addon vertically but I don’t know how to do that. Here’s my code:

dbc.InputGroup(
                [
                    dbc.InputGroupAddon("Issued year greater than ", addon_type='prepend'),
                    dbc.Input(id = 'filter_year', value = 2018, type = 'number', debounce=True)
                ], size = 'sm'
            ),
            dbc.InputGroup(
                [
                    dbc.InputGroupAddon("Outstanding amount greater than ", addon_type ='prepend'),
                    dbc.Input(id = 'filter_amt', value = 300, type = 'number', debounce=True),
                    dbc.InputGroupAddon("million", addon_type ='append'),
                ], size = 'sm'
            ),
            dbc.InputGroup(
                [
                    dbc.InputGroupAddon("Last 30 days volumn greater than ", addon_type='prepend',),
                    dbc.Input(id = 'filter_vol', value = 10, type = 'number', debounce=True),
                    dbc.InputGroupAddon("million", addon_type ='append'),
                ], size = 'sm'
            )

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles