# Custom components: cant edit methods

**URL:** <https://community.thunkable.com/t/custom-components-cant-edit-methods/2969732>\
**Category:** Questions about Thunkable X\
**Created:** [April 26, 2024, 12:30am UTC](https://community.thunkable.com/t/custom-components-cant-edit-methods/2969732 "2024-04-26T00:30:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Wolber](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/david_wolber/32/117458_2.png) [@David\_Wolber](https://community.thunkable.com/u/David_Wolber)\
**Post date:** [April 26, 2024, 12:30am UTC](https://community.thunkable.com/t/custom-components-cant-edit-methods/2969732/1 "2024-04-26T00:30:31Z")

</div>

I’m working on a custom component. I’ve added some methods to it. When I go back to edit the methods, I can’t-- I can only change the name, but can’t change the parameters or return values, and I can’t delete the method (I would do this and redo it if that were possible)

 ![Screenshot 2024-04-25 at 5.25.33 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/9/99701a305e72d17a7b90a0ffa02df25acc43afbe.png)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [April 26, 2024, 3:23pm UTC](https://community.thunkable.com/t/custom-components-cant-edit-methods/2969732/2 "2024-04-26T15:23:30Z")

</div>

Thanks @David_Wolber

I’ve relayed this to the Custom Component team and will let you know what they say

---

<div class="post-metadata">

**Author:** ![paulmw](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@paulmw](https://community.thunkable.com/u/paulmw)\
**Post date:** [April 26, 2024, 10:07pm UTC](https://community.thunkable.com/t/custom-components-cant-edit-methods/2969732/3 "2024-04-26T22:07:30Z")

</div>

Unfortunately, you can’t change the parameters or the number of outputs right now after you 1) have published a custom component or 2) if you are using blocks referring to the method/property/event in the component editor.

This is to make sure that components can be upgraded without messing up projects, and that the blocks have the correct number of inputs, etc. In a future version we hope to remove this restriction.

How to fix for now:  
Step 1) If you have previous published your component  
Go to [Thunkable](https://x.thunkable.com/ui-modules) and copy your custom component

Step 2) Regardless of whether you’ve published, remove any block in the component editor that is referring to the method/property/event that you are trying to modify.

Sorry for the inconvenience

---

<div class="post-metadata">

**Author:** ![David\_Wolber](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/david_wolber/32/117458_2.png) [@David\_Wolber](https://community.thunkable.com/u/David_Wolber)\
**Post date:** [April 29, 2024, 6:20pm UTC](https://community.thunkable.com/t/custom-components-cant-edit-methods/2969732/4 "2024-04-29T18:20:02Z")

</div>

Hi Paul. No worries and thanks. The custom components are incredible and open  
up amazing possibilities

Dave

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [July 28, 2024, 6:20pm UTC](https://community.thunkable.com/t/custom-components-cant-edit-methods/2969732/5 "2024-07-28T18:20:39Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
