id
must be unique across all extensions and will be used to fetch values.
If you do not provide a category, then the id
will be split by
.
to determine where it appears in the settings panel.
id
doesn’t contain any .
then it will appear in the “Other”
category and your id
will be used as the section heading.id
contains at least one .
then the leftmost part will be used
as the setting category and the second part will be used as the section
heading. Any further parts are ignored.onChange()
event handler will be called as soon as the user changes the
setting in the settings panel.
This will also be called when the extension is registered, on every page load.
attrs
field.
For instance, this adds increment/decrement buttons to a number input:
maxFractionDigits
attribute to a number greater than zero.
Based on the InputNumber PrimeVue
component.
text
and value
fields. If you only provide a plain string, then it will be used
for both.
You can let the user enter freeform text by supplying the editable: true
attribute, or search by supplying the filter: true
attribute.
Based on the Select PrimeVue component. Groups
are not supported.
id
.
This means you can change the categorisation and naming without changing the
id
and losing the values that have already been set by users.
tooltip
field. This adds a small ℹ︎
icon after the field name that will show the help text when the user hovers
over it.