Skip to content

Commit 4767d7b

Browse files
committed
R release 0.10.1
1 parent b00f730 commit 4767d7b

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: dashBootstrapComponents
22
Title: Bootstrap components for Plotly Dash
3-
Version: 0.10.0
3+
Version: 0.10.1
44
Description: Bootstrap components for Plotly Dash
55
Depends: R (>= 3.0.2)
66
Imports:

R/dbcForm.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# AUTO GENERATED FILE - DO NOT EDIT
22

3-
dbcForm <- function(children=NULL, id=NULL, style=NULL, className=NULL, key=NULL, inline=NULL, loading_state=NULL) {
3+
dbcForm <- function(children=NULL, id=NULL, style=NULL, className=NULL, key=NULL, inline=NULL, n_submit=NULL, n_submit_timestamp=NULL, prevent_default_on_submit=NULL, loading_state=NULL) {
44

5-
props <- list(children=children, id=id, style=style, className=className, key=key, inline=inline, loading_state=loading_state)
5+
props <- list(children=children, id=id, style=style, className=className, key=key, inline=inline, n_submit=n_submit, n_submit_timestamp=n_submit_timestamp, prevent_default_on_submit=prevent_default_on_submit, loading_state=loading_state)
66
if (length(props) > 0) {
77
props <- props[!vapply(props, is.null, logical(1))]
88
}
99
component <- list(
1010
props = props,
1111
type = 'Form',
1212
namespace = 'dash_bootstrap_components',
13-
propNames = c('children', 'id', 'style', 'className', 'key', 'inline', 'loading_state'),
13+
propNames = c('children', 'id', 'style', 'className', 'key', 'inline', 'n_submit', 'n_submit_timestamp', 'prevent_default_on_submit', 'loading_state'),
1414
package = 'dashBootstrapComponents'
1515
)
1616

R/internal.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.dashBootstrapComponents_js_metadata <- function() {
22
deps_metadata <- list(`dash_bootstrap_components` = structure(list(name = "dash_bootstrap_components",
3-
version = "0.10.0", src = list(href = NULL,
3+
version = "0.10.1", src = list(href = NULL,
44
file = "deps"), meta = NULL,
55
script = '_components/dash_bootstrap_components.min.js',
66
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBootstrapComponents",

inst/deps/_components/dash_bootstrap_components.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/dbcForm.Rd

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ The Form component can be used to organise collections of input components and a
1111

1212
\usage{
1313
dbcForm(children=NULL, id=NULL, style=NULL, className=NULL,
14-
key=NULL, inline=NULL, loading_state=NULL)
14+
key=NULL, inline=NULL, n_submit=NULL,
15+
n_submit_timestamp=NULL, prevent_default_on_submit=NULL,
16+
loading_state=NULL)
1517
}
1618

1719
\arguments{
@@ -33,6 +35,13 @@ See https://reactjs.org/docs/lists-and-keys.html for more info}
3335
a series of labels, form controls, and buttons on a single horizontal row.
3436
Form controls within inline forms vary slightly from their default states.}
3537

38+
\item{n_submit}{Numeric. Number of times the `Enter` key was pressed while the input had focus.}
39+
40+
\item{n_submit_timestamp}{Numeric. Last time that `Enter` was pressed.}
41+
42+
\item{prevent_default_on_submit}{Logical. The form calls preventDefault on submit events. Use submit_allow_default
43+
to override this and not call preventDefault on submit.}
44+
3645
\item{loading_state}{Lists containing elements 'is_loading', 'prop_name', 'component_name'.
3746
those elements have the following types:
3847
- is_loading (logical; optional): determines if the component is loading or not

0 commit comments

Comments
 (0)