gpt4 book ai didi

How to make input for Demensions(width,height and length) in react [closed](如何在Reaction[关闭]中输入尺寸(宽、高、长))

转载 作者:bug小助手 更新时间:2023-10-25 17:12:04 24 4
gpt4 key购买 nike




I am building a form where I'd like to create an input field that accepts three values (width, height, and length), similar to what you see in the GIF below:

我正在构建一个表单,希望在其中创建一个输入字段,该字段接受三个值(宽度、高度和长度),类似于您在下面的GIF中看到的内容:


enter image description here


btw I'm using nextjs 13

顺便说一句,我用的是nextjs 13


更多回答

That's just three input fields...

这只是三个输入域..。

or you can use ui component library.

也可以使用UI组件库。

优秀答案推荐

This is probably best achieved if you encapsulate three separate text input HTML fields within something like a div and add the styling necessary with some CSS.

There is no such input that can do the above out of the box.
You will need to retrieve the data from all three inputs separately and handle them accordingly.

如果将三个单独的文本输入HTML域封装在类似div的东西中,并使用一些CSS添加必要的样式,则可能是实现这一点的最佳方法。没有这样的输入可以开箱即用地完成上述任务。您将需要分别从所有三个输入检索数据,并相应地处理它们。


更多回答

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com