Hello,
Is it possible to use a text input field to an additive list in a settings app? If so, can someone point me to any documentation?
Thank you.
Answered! Go to the Best Answer.
Best AnswerI know I am replying to my own thread, but here is a way to do it. I modified one of the examples, and it seems to work well.
<AdditiveList
title="A list with Autocomplete"
settingsKey="autocomplete-list"
maxItems="30"
addAction={
<TextInput
title="Add List Item"
label="Click to add a new item"
placeholder="Type something"
action="Add Item"
/>
}
/>
Best AnswerI know I am replying to my own thread, but here is a way to do it. I modified one of the examples, and it seems to work well.
<AdditiveList
title="A list with Autocomplete"
settingsKey="autocomplete-list"
maxItems="30"
addAction={
<TextInput
title="Add List Item"
label="Click to add a new item"
placeholder="Type something"
action="Add Item"
/>
}
/>
Best AnswerI checked the best answer to my previous post as this solved it for me. I wanted to help others in case anyone came looking. Sorry if this act is a bit conceited. That is not my intent.
Best Answer