Skip to content

Commit 752c3db

Browse files
committed
Fixed the behaviour of component for controlled mode on receiving new value(s)
1 parent 0f23b1b commit 752c3db

20 files changed

Lines changed: 337 additions & 280 deletions

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,3 +415,7 @@ Breaking changes:
415415

416416
- Change on behavior of onChange when value(s) is set. Before no call was triggered. Now it is called with the new selection. The component is controlled so there is no change in the visual if value(s) keep(s) the previous value
417417
- Updated packages
418+
419+
### 4.1.1
420+
421+
- Fixed bug related to component not updating the selected value in the controlled mode

docs/iframe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@
5858
} catch (e) {
5959
// eslint-disable-next-line no-console
6060
console.warn('unable to connect to parent frame for connecting dev tools');
61-
}</script></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><div id="error-message" class="sb-heading"></div><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><script src="runtime~main.ad447fbd47534a07999e.bundle.js"></script><script src="vendors~main.ad447fbd47534a07999e.bundle.js"></script><script src="main.ad447fbd47534a07999e.bundle.js"></script></body></html>
61+
}</script></head><body><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><div id="error-message" class="sb-heading"></div><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><script src="runtime~main.fba81f1c53a90666990f.bundle.js"></script><script src="vendors~main.fba81f1c53a90666990f.bundle.js"></script><script src="main.fba81f1c53a90666990f.bundle.js"></script></body></html>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
} catch (e) {
1515
// eslint-disable-next-line no-console
1616
console.warn('unable to connect to parent frame for connecting dev tools');
17-
}</script></head><body><div id="root"></div><script src="runtime~main.17da544d0ef88cbabfaf.bundle.js"></script><script src="vendors~main.31a6c9544a4d3c3dc69b.bundle.js"></script><script src="main.8b3b0e6fe80d828a29ec.bundle.js"></script></body></html>
17+
}</script></head><body><div id="root"></div><script src="runtime~main.17da544d0ef88cbabfaf.bundle.js"></script><script src="vendors~main.7169c8ab0f2bab397f79.bundle.js"></script><script src="main.8b3b0e6fe80d828a29ec.bundle.js"></script></body></html>

docs/main.ad447fbd47534a07999e.bundle.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/main.ad447fbd47534a07999e.bundle.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/main.fba81f1c53a90666990f.bundle.js

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

docs/main.fba81f1c53a90666990f.bundle.js.map

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

docs/runtime~main.ad447fbd47534a07999e.bundle.js renamed to docs/runtime~main.fba81f1c53a90666990f.bundle.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.

docs/runtime~main.ad447fbd47534a07999e.bundle.js.map renamed to docs/runtime~main.fba81f1c53a90666990f.bundle.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.

docs/sb_dll/storybook_ui_dll.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.

0 commit comments

Comments
 (0)