forked from rstudio/shiny
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Allow
bindInputs()
to no-op when attempting to bind currently …
…bound inputs (rstudio#3946) * fix: Do not re-bind previously bound inputs * refactor: Add binding to the registry after binding happens * fix: Spelling of `bindingsRegistry` * chore: yarn build * `yarn build` (GitHub Actions) * fix: spelling * feat: isRegistered can check if bound to input or output * fix: Do not throw for shared input/output IDs `input$caption` and `output$caption` may not be the best idea for several reasons, but it was previously allowed Fixes rstudio#3943 * fix: check element directly to know whether it a bound input * chore: yarn build * fix: test `.shiny-bound-input` instead of data prop * refactor: Remove `bindingsRegistry.isRegistered()` method * refactor: Use a map for duplicateIds again * refactor: Add `BindingTypes` type and use `bindingType` everywhere * refactor: More concise duplicateIds typing Co-authored-by: Nick Strayer <[email protected]> * refactor: count by forEach + incrementing Co-authored-by: Nick Strayer <[email protected]> * `yarn build` (GitHub Actions) * thanks, vscode * docs: rewrite checkValidity() jsdoc to capture current state of things * chore: yarn build * docs: slight rewording --------- Co-authored-by: gadenbuie <[email protected]> Co-authored-by: Nick Strayer <[email protected]>
- Loading branch information
1 parent
01705c1
commit 59b1c46
Showing
5 changed files
with
84 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.