This repository was archived by the owner on Jun 4, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 49
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
How to add a button with a link? #16
Copy link
Copy link
Closed
Description
Forgive the naive question, I am extremely new to web programming. We'd like to add a feedback button, but this code:
html.Button('Submit feedback!', className='three columns',
href='https://github.com/czbiohub/singlecell-dash/issues/new'),
Produces the error that href
is not a valid property:
Traceback (most recent call last):
File "../singlecell-dash/app.py", line 681, in <module>
cli()
File "/Users/olgabot/anaconda3/envs/maca-dash/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/Users/olgabot/anaconda3/envs/maca-dash/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/olgabot/anaconda3/envs/maca-dash/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/olgabot/anaconda3/envs/maca-dash/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "../singlecell-dash/app.py", line 360, in cli
href='https://github.com/czbiohub/singlecell-dash/issues/new'),
File "<string>", line 45, in __init__
File "/Users/olgabot/anaconda3/envs/maca-dash/lib/python3.6/site-packages/dash/development/base_component.py", line 23, in __init__
', '.join(self._prop_names)
Exception: Unexpected keyword argument `href`
Allowed arguments: children, autoFocus, disabled, form, formAction, name, type, value, accessKey, className, contentEditable, contextMenu, dir, draggable, hidden, lang, spellCheck, style, tabIndex, title, id
make: *** [dev] Error 1
What's the correct way to add a button with a link?
Metadata
Metadata
Assignees
Labels
No labels