|
Post by msabaddon on Nov 14, 2019 22:26:48 GMT
I'm trying to select a couple of entries from a word list init script:
trait_list := tag_remove_rule(tag: "<word-list-") +
{ "<word-list-traits>{input}</word-list-traits>" }
card field:
type: text
name: traits
save value: true
script: trait_list(value)
Selecting the 2nd entry results in the program not marking the entry as selected making further insertions impossible
Picture 1Picture 2If I click somewhere else after inserting the 2nd entry and open the Dropdown again afterwards everything is fine and I can add further entries (clicking somewhere else after every insertion) Picture 3Does anyone know how to fix this problem?
|
|
|
Post by msabaddon on Nov 14, 2019 22:37:59 GMT
One more question (using the same code as above): If I create submenues in a word list - is it possible to multiselect entries from different submenues? For example, can I select Abjuration and Good at the same time? If I have selected entries from submenu 1 and then select an entry from submenu 2 the program automaticalls deselects all entries from submenu 1.
name: traits
word:
name: Spell Schools
word:
name: Abjuration
is prefix: true
word:
name: Conjuration
is prefix: true
word:
name: Divination
is prefix: true
word:
name: Enchantment
is prefix: true
word:
name: Evocation
is prefix: true
word:
name: Illusion
is prefix: true
word:
name: Necromancy
is prefix: true
word:
name: Transmutation
is prefix: true
word:
name: Alignments
word:
name: Lawful
is prefix: true
word:
name: Chaotic
is prefix: true
word:
name: Good
is prefix: true
word:
name: Evil
is prefix: true
|
|