Skip to content
New issue

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

Default showCursor to true in ShadInputFormField #210

Closed
veluloganathan opened this issue Dec 11, 2024 · 2 comments · Fixed by #211
Closed

Default showCursor to true in ShadInputFormField #210

veluloganathan opened this issue Dec 11, 2024 · 2 comments · Fixed by #211
Assignees
Labels
accepted A valid and reproducible issue bug Something isn't working

Comments

@veluloganathan
Copy link

Steps to reproduce

Currently, the ShadInputFormField widget has its showCursor property defaulted to false. This behavior can cause confusion for users expecting the text cursor to be visible by default, especially in editable text fields. Having showCursor default to true would align with the typical behavior of text input fields in most UI frameworks.

Expected results

ShadInputFormField(
controller: controller,
// No need to specify showCursor: true explicitly
);

Actual results

ShadInputFormField(
controller: controller,
showCursor: true,
);

shadcn_ui version

0.16.0

Platform

Web

Code sample

ShadInputFormField(
  controller: controller,
   showCursor: true,
);

Screenshots or Video

No response

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]
@veluloganathan veluloganathan added bug Something isn't working triage Issues that need assessment and prioritization labels Dec 11, 2024
@nank1ro nank1ro added accepted A valid and reproducible issue and removed triage Issues that need assessment and prioritization labels Dec 11, 2024
@nank1ro nank1ro self-assigned this Dec 11, 2024
@nank1ro
Copy link
Owner

nank1ro commented Dec 11, 2024

fixed in the v0.16.3

@veluloganathan
Copy link
Author

Super fast! Glad 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted A valid and reproducible issue bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants