David Bismut

Results 184 comments of David Bismut

@mordv I can see this being valuable, but it might be a bit tough and cumbersome to implement, taking into account a lot of potential edge cases. This could be...

@yuzuz thanks for the suggestions, the text area should be easy to implement! I'm not sure I understand the first idea though, can you elaborate a bit?

@yuzuz oh right! That would require a custom select UI (which wouldn't show on mobile I guess), but that can be done indeed.

@mylespalmer It's now possible! ```js useControls({ string: { value: 'long text', rows: true }) }) ```

I agree. Also I think we're using the label trick to style the checkbox but I think you can do it without it now.

Textarea is here https://leva.pmnd.rs/?path=/story/inputs-string--default-rows ```js useControls({ string: { value: 'long text', rows: true }) }) // custom number of rows useControls({ string: { value: 'long text', rows: 10 }) })...

Haha I added it this morning 😂 Should have mentioned it was new ;)

@soltrinox you can always attach the `set` function to the `window` element. ```js const [{ text }, set] = useControls(() => ({ text: 'my string' })) useEffect(() => { window.levaSet...

Hi Enzo, feel free to propose a PR over the existing Image input. That would work right?

Hi Enzo, I think we should try to refactor the Image component so that it can support multiple formats, but I agree that we shouldn't break the image API. So...