Skip to content

Commit b8fd6a9

Browse files
Merge pull request #26 from react-R/input-impl-getType
Add missing input binding method getType
2 parents 6ace2ed + 1eba39e commit b8fd6a9

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# master
2+
3+
* Add support for `shiny::registerInputHandler` in Shiny inputs; [pull 26](https://github.com/react-R/reactR/pull/26)
4+
15
# reactR 0.4.0
26

37
* Add Shiny input scaffold and functionality; [tutorial](https://react-r.github.io/reactR/articles/intro_inputs.html) and [pull 22](https://github.com/react-R/reactR/pull/22) thanks @alandipert

inst/www/react-tools/react-tools.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/www/react-tools/react-tools.js.map

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

srcjs/input.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ export function reactShinyInput(selector,
5959
find(scope) {
6060
return $(scope).find(selector);
6161
}
62+
getType(el) {
63+
return name;
64+
}
6265
getValue(el) {
6366
return this.getInputValue(el);
6467
}

0 commit comments

Comments
 (0)