jsjasonseba opened a new issue, #48850:
URL: https://github.com/apache/airflow/issues/48850

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Typing in a string input field in a Airflow Connection Extra Fields produces 
broken string
   
   Example:
   Typing "test" produces the following string:
   
   
![Image](https://github.com/user-attachments/assets/2a3f6888-d68b-4e6e-9cce-86ae024dc3c6)
   
   Skimming through the code, the bug might be caused by over-escaping due to 
JSON.stringify usage on the input value:
   
[FieldString.tsx#L51](https://github.com/apache/airflow/blob/main/airflow-core/src/airflow/ui/src/components/FlexibleForm/FieldString.tsx#L51)
   
   ### What you think should happen instead?
   
   Input should type correct text
   
   ### How to reproduce
   
   1. breeze start-airflow
   2. add connection
   3. select connection type with extra fields (e.g. google_cloud_platform)
   4. type into a string field (e.g. Project ID on google_cloud_platform 
connection)
   
   ### Operating System
   
   Ubuntu 24.04.1 LTS
   
   ### Versions of Apache Airflow Providers
   
   main
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   breeze start-airflow
   
   ### Anything else?
   
   I’ve looked into the code and have an idea of the issue. Please assign this 
to me.
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to