# How to re-trigger loadOptions?

**URL:** <https://community.n8n.io/t/how-to-re-trigger-loadoptions/190792>\
**Category:** Questions\
**Tags:** core, node, custom-node\
**Created:** [September 19, 2025, 9:56am UTC](https://community.n8n.io/t/how-to-re-trigger-loadoptions/190792 "2025-09-19T09:56:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Misha](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/misha/32/121518_2.png) [@Misha](https://community.n8n.io/u/Misha)\
**Post date:** [September 19, 2025, 9:56am UTC](https://community.n8n.io/t/how-to-re-trigger-loadoptions/190792/1 "2025-09-19T09:56:52Z")

</div>

Hello,

I’m implementing “get” function for my node and for one of parameters I want to load options depending on another option. However what I’m seeing is that `loadOptions` is only triggered once.

Here is my resource description

```typescript
export const description: INodeProperties[] = [
	{
		displayName: 'Operation',
		name: 'operation',
		type: 'options',
		noDataExpression: true,
		options: [
			{
				name: 'Create',
				value: 'create',
				description: 'Create a new entity',
				action: 'Create an entity',
			},
			{
				name: 'Get',
				value: 'get',
				description: 'Get an entity by ID',
				action: 'Get an entity',
			},
			{
				name: 'Delete',
				value: 'delete',
				description: 'Delete an entity',
				action: 'Delete an entity',
			},
		],
		default: 'create',
		displayOptions: {
			show: {
				resource: ['entity'],
			},
		},
	},
	{
		displayName: 'Database Name or ID',
		name: 'database',
		type: 'resourceLocator',
		default: { mode: 'list', value: '' },
		required: true,
		description:
			'Select the Fibery database to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
		displayOptions: {
			show: {
				resource: ['entity'],
			},
		},
		modes: [
			{
				displayName: 'From List',
				name: 'list',
				type: 'list',
				placeholder: 'Select a database...',
				typeOptions: {
					searchListMethod: 'getDatabases',
					searchable: true,
				},
			},
			{
				displayName: 'ID',
				name: 'id',
				type: 'string',
				placeholder: 'Enter Database ID...',
			},
		],
	},
	...create.description,
	...get.description,
	...deleteOperation.description,
];

```

and here is my properties for get.operation

```typescript
const properties: INodeProperties[] = [
	{
		displayName: 'Entity ID',
		name: 'entityId',
		type: 'string',
		required: true,
		default: '',
		placeholder: 'e.g., 123e4567-e89b-12d3-a456-426614174000',
		description: 'The UUID of the entity to retrieve',
	},
	{
		displayName: 'Select fields',
		name: 'fields',
		type: 'multiOptions',
		noDataExpression: true,
		default: ['fibery/id'],
		description:
			'Comma-separated list of fields to include in the response (optional). Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
		typeOptions: {
			loadOptionsDependsOn: ['database'],
			loadOptionsMethod: 'loadFields',
		},
	},
];

```

So as you can see I noted that ‘fields’ is dependant on ‘database’. However `loadFields` don’t get called on ‘database’ change.

What’s also interesting is that when I change ‘loadOptionsDependsOn’ to `[‘entityId’]` then loadFields gets re-triggered every time I change id. Is there something wrong with ‘database’ definition?

Thanks in advance for any tips

---

<div class="post-metadata">

**Author:** ![Misha](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/misha/32/121518_2.png) [@Misha](https://community.n8n.io/u/Misha)\
**Post date:** [September 19, 2025, 11:26am UTC](https://community.n8n.io/t/how-to-re-trigger-loadoptions/190792/2 "2025-09-19T11:26:49Z")

</div>

Noticed similar bug for Notion node:

If you switch property from one single-select to another the options become stale. Until you hit manually “refresh list“ the values don’t update

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/7/a/7aab3f99be57e78c1e7615fc6ca9cd1a89400bf1.png)

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/3/e/3e3e7cc6ed432b6be472a3df246d712334e1ca2a.png)

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/f/4/f4c2bfb8e14cff12bbf50f3735180022280bc9a6.png)

---

<div class="post-metadata">

**Author:** ![barn4k](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/barn4k/32/8170_2.png) [@barn4k](https://community.n8n.io/u/barn4k)\
**Post date:** [September 23, 2025, 8:36am UTC](https://community.n8n.io/t/how-to-re-trigger-loadoptions/190792/3 "2025-09-23T08:36:31Z")

</div>

hello @Misha

As far as I know, **loadOptions** work with **options** or **multiOptions** types. Try changing the **list** type of the database property to **options**

---

<div class="post-metadata">

**Author:** ![Misha](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/misha/32/121518_2.png) [@Misha](https://community.n8n.io/u/Misha)\
**Post date:** [September 23, 2025, 10:50am UTC](https://community.n8n.io/t/how-to-re-trigger-loadoptions/190792/4 "2025-09-23T10:50:27Z")

</div>

Not sure I understood you.

Yeah it seems it works if I change `database` from `resourceLocator` to `options` but is it correct though?  
Feels like a bug to me. Does it mean that `options` field with `loadOptions` can’t depend on resourceLocators?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [December 22, 2025, 10:51am UTC](https://community.n8n.io/t/how-to-re-trigger-loadoptions/190792/5 "2025-12-22T10:51:20Z")

</div>

Closed on December 22, 2025, 10:51am UTC

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