cristph commented on issue #577:
URL: https://github.com/apache/camel-karavan/issues/577#issuecomment-1373281315

   about this change  
https://github.com/apache/camel-karavan/commit/2c1c1f6e58d8f3e11214852d94b71171904231e9
   I'm wondering that it makes developer cannot change the already assigned id, 
it always keeps the old assigned value
   if there's any concern?
   
   ```
   karavan-designer/src/designer/route/property/DslPropertyField.tsx
   
       propertyChanged = (fieldId: string, value: string | number | boolean | 
any, newRoute?: RouteToCreate) => {
           if (fieldId === 'id' && 
CamelDefinitionApiExt.hasElementWithId(this.props.integration, value)) {
               value = this.props.value;
           }
           this.props.onChange?.call(this, fieldId, value, newRoute);
           this.setState({selectStatus: new Map<string, boolean>([[fieldId, 
false]])});
       }
   ```
   
   
   


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to