We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
class TeamSettingsPage extends StatefulWidget { const TeamSettingsPage({ super.key }); @override State createState() => _TeamSettingsPage(); } class _TeamSettingsPage extends State<TeamSettingsPage> { String currentTab = "members"; @override Widget build(BuildContext context) { return Column( mainAxisSize: MainAxisSize.min, children: [ ShadTabs<String>( value: currentTab, onChanged: (value) { setState(() { currentTab = value; }); }, tabs: [ ShadTab<String>(value: "members", child: Text("members")), ShadTab<String>(value: "api-keys", child: Text("api keys")) ]) ]); } }
Clicking tab should not throw exception
Clicking tab throws exception because of onChange not being (dynamic value) {}.
main branch: 374e2fc
Web
[Paste your code here]
[Upload media here]
[Paste your logs here]
[Paste your output here]
The text was updated successfully, but these errors were encountered:
fixed in the v0.17.4
Sorry, something went wrong.
nank1ro
Successfully merging a pull request may close this issue.
Steps to reproduce
Expected results
Clicking tab should not throw exception
Actual results
Clicking tab throws exception because of onChange not being (dynamic value) {}.
shadcn_ui version
main branch: 374e2fc
Platform
Web
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
[Paste your output here]
The text was updated successfully, but these errors were encountered: