D
D
Dmitry2019-05-24 17:10:13
React
Dmitry, 2019-05-24 17:10:13

How to make editable field in ant-design?

Please write how to make text editing on click using ant-design and without a table as shown there
5ce7fb1a37b82224829877.png
i.e. ant-design script but without their table, but just such an input that is activated when you click on the text

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robur, 2019-05-24
@Gorlaks

Here "special input" is not needed - you can do everything yourself without problems.
Take an Input , click on the text to hide the text and show the input, when you press enter or esc hide the input and show the text.
This, if desired, can be arranged as a component - you will have what you want.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question