Avaiga / taipy

Turns Data and AI algorithms into production-ready web applications in no time.
https://www.taipy.io
Apache License 2.0
9.74k stars 691 forks source link

integrate component react with markdown #1463

Open carza06 opened 1 week ago

carza06 commented 1 week ago

What would you like to share or ask?

I made a component datetime-local in react and added it to a markdown of taipygui, but it doesn't grab the value of the component, what should I do?

taipy_gui:

<|{btn_from_date_destinations}|example.date_input|>

button react:

         <input
            type="datetime-local"
            className="custom-datetime-input css-1weoyhk css-1weoyhk"
            onChange={handleChange}
            // value={dateTime}
          />

Code of Conduct

FlorianJacta commented 1 week ago

Have you read this documentation?

carza06 commented 6 days ago

yes, but i have a problem, I see the component in markdown but taipy does not take the date I choose

FlorianJacta commented 4 days ago

@FabienLelaquais @FredLL-Avaiga Would you be able to help? Here is a question related with more code: https://github.com/Avaiga/taipy/discussions/1465

FredLL-Avaiga commented 4 days ago

We'll need a bit more context. How is the component declared in the library? How is it declared in react (props) ?

FabienLelaquais commented 4 days ago

I have commented the Discussion part of this to get more information.