yjwong opened a new pull request #14052:
URL: https://github.com/apache/airflow/pull/14052


   Before this, fields on the connection form were dynamically changed by 
adding and removing the "hide" CSS class. If a provider were to add a field 
that requires validation (e.g. InputRequired), or if a different field type was 
used (e.g. NumberField), the entire form would be unsaveable, even if the 
currently selected connection type had nothing to do with that provider.
   
   This change takes a different approach; upon loading, the DOM elements for 
all extra fields are saved into a Map, then removed from the DOM tree. When 
another connection type is selected, these elements are restored into the DOM.
   
   closes: #13985 
   


----------------------------------------------------------------
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.

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


Reply via email to