Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html.Form() syntax #75

Closed
ibdafna opened this issue Jul 8, 2017 · 1 comment
Closed

html.Form() syntax #75

ibdafna opened this issue Jul 8, 2017 · 1 comment

Comments

@ibdafna
Copy link

ibdafna commented Jul 8, 2017

Great framework. Very good job, Chris!

within dash_html_components we have the Form() method. I'm not seeing a way to set the type in there. Is there something I'm missing? Are we supposed to use dash_core_components as the only source of user inputs? Would like to use a date picker for my app.

Thanks!

EDIT:
I figured this out.

We can use dcc.Input(type='date) which is rendered in html, and is effectively what I was looking for.

Good to close!

@ibdafna ibdafna closed this as completed Jul 8, 2017
@chriddyp
Copy link
Member

chriddyp commented Aug 9, 2017

Just a little heads up that a highly customizable date-picker with cross-browser support is coming soon: plotly/dash-core-components#49

byronz pushed a commit that referenced this issue Apr 23, 2019
* Made DashRenderer standalone with hooks argument
DashRenderer is now a class that can be called with an optional hooks argument

* Tests for DashRenderer with custom hooks

* Remove console.logs

* Add request and response parameters to hooks

* Use dash-0.26.4 tarball for now

* Clean up DashRenderer class

* Remove JSON.Stringify() from request_pre payload parameter

* Replace typeof with Ramda's type

* ⚡ then()

* Update type check for Ramda's type()

* Check if hooks are set or empty before hydrating

* Fire setHooks in AppContainer instead

* Cleanup

* Fixed tests with new Dash tar containing standalone dash-renderer

* Favour dash egg over tarball :egg

* Remove unneeded call_count from test

* Fix test with input clear() issue

* prettier & rebuild

* lint with both eslint and prettier

* Update test with payload param and add proptypes instead of type checking

* Prettier fix

* Fire post before dispatches that use data.response

* Update test with response data

* Fix formatting

* Fix formatting

* Fix request hooks test
HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 28, 2021
HammadTheOne pushed a commit that referenced this issue Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants