-
Notifications
You must be signed in to change notification settings - Fork 7
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
Type error with 'options' in Text #17
Comments
Hi, thanks for using the library and opening an issue. I might have just missed this prop or not seen a use for it that wouldn't already be covered by the Can you explain what you're trying to do at a higher level? I'm guessing you have a hex string that you want to edit directly as text, and Tweakpane is giving you the color control instead? From a quick look at this, it just seems like an oversight on my part and I should have hard-coded |
Thinking about this more, it's basically a bug... the I've addressed this in v1.3.2. Thanks for bringing it to my attention. Note that Tweakpane's |
Yes, I want it force to be text just because it always turn my hex-like string into color selector, and I see that used to be an issue in tweakpane v2/v3 and after that they use " Since this issue has been solved internally, I can let the 'options' go. Thanks! Btw I have another issue with |
Ok great. Can you please open another issue for the |
Ok, check this: #18 |
Svelte Tweakpane UI version: 1.3.0
Svelte version: 4.2.19
I'm trying to force this text field to be "text", and I found that I can add "
{view: 'string'}
" into options to do that. It works, but one issue is, it will always throwing an error from typescript tell me "no 'options' here".And I see through the .d.ts file and I found it has been excluded by definition.
Did this property blocked for any reason?
The text was updated successfully, but these errors were encountered: